home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-12-10 | 34.0 KB | [ TEXT/MSWD]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, ID 0x5147, Sun Dec 10 13:23:52 1989, modified Sun Dec 10 13:23:52 1989, creator Microsoft Word, type ASCII, 34283 bytes "buildapp.manual.text" , at 0x866b 382 bytes resource
default (weak)
99%
file
data
default
49%
TrID
Macintosh plain text (MacBinary)
default
33%
TrID
raw Group 3 FAX bitmap
default (weak)
16%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ MSWD]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 14 62 75 69 6c 64 61 | 70 70 2e 6d 61 6e 75 61 |..builda|pp.manua| |00000010| 6c 2e 74 65 78 74 00 00 | 00 00 00 00 00 00 00 00 |l.text..|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4d 53 57 | 44 01 00 00 40 00 c0 51 |.TEXTMSW|D...@..Q| |00000050| 47 00 00 00 00 85 eb 00 | 00 01 7e a1 a8 4f b8 a1 |G.......|..~..O..| |00000060| a8 4f b8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.O......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7f 06 00 00 |........|........| |00000080| 47 65 74 74 69 6e 67 20 | 73 74 61 72 74 65 64 3a |Getting |started:| |00000090| 09 53 65 74 74 69 6e 67 | 20 75 70 20 74 68 65 20 |.Setting| up the | |000000a0| 44 59 4e 41 4d 4f 20 63 | 72 6f 73 73 2d 64 65 76 |DYNAMO c|ross-dev| |000000b0| 65 6c 6f 70 6d 65 6e 74 | 20 73 79 73 74 65 6d 3a |elopment| system:| |000000c0| 0d 0d 0d 53 74 65 70 20 | 31 3a 09 43 6f 70 79 20 |...Step |1:.Copy | |000000d0| 74 68 65 20 44 59 4e 41 | 4d 4f 20 66 6f 6c 64 65 |the DYNA|MO folde| |000000e0| 72 20 6f 6e 74 6f 20 79 | 6f 75 72 20 4d 61 63 69 |r onto y|our Maci| |000000f0| 6e 74 6f 73 68 2e 20 20 | 54 68 65 6e 20 72 65 6e |ntosh. |Then ren| |00000100| 61 6d 65 20 0d 74 68 65 | 20 66 6f 6c 64 65 72 20 |ame .the| folder | |00000110| 74 6f 20 69 6e 64 69 63 | 61 74 65 20 74 68 65 20 |to indic|ate the | |00000120| 70 72 6f 6a 65 63 74 2e | 0d 0d 53 74 65 70 20 32 |project.|..Step 2| |00000130| 3a 09 43 72 65 61 74 65 | 20 61 20 50 72 6f 44 4f |:.Create| a ProDO| |00000140| 53 20 64 69 73 6b 2e 20 | 20 49 74 20 73 68 6f 75 |S disk. | It shou| |00000150| 6c 64 20 62 65 20 69 6e | 69 74 69 61 6c 69 7a 65 |ld be in|itialize| |00000160| 64 20 61 74 20 61 20 34 | 3a 31 20 0d 69 6e 74 65 |d at a 4|:1 .inte| |00000170| 72 6c 65 61 76 65 2e 20 | 20 50 72 6f 44 4f 53 20 |rleave. | ProDOS | |00000180| 73 68 6f 75 6c 64 20 62 | 65 20 63 6f 70 69 65 64 |should b|e copied| |00000190| 20 6f 6e 74 6f 20 69 74 | 20 28 67 65 74 20 74 68 | onto it| (get th| |000001a0| 65 20 50 72 6f 44 4f 53 | 20 66 69 6c 65 20 66 72 |e ProDOS| file fr| |000001b0| 6f 6d 20 61 20 0d 62 6f | 6f 74 61 62 6c 65 20 50 |om a .bo|otable P| |000001c0| 72 6f 44 4f 53 20 38 20 | 64 69 73 6b 2c 20 6f 72 |roDOS 8 |disk, or| |000001d0| 20 67 65 74 20 74 68 65 | 20 50 38 20 66 69 6c 65 | get the| P8 file| |000001e0| 20 66 72 6f 6d 20 74 68 | 65 20 53 79 73 74 65 6d | from th|e System| |000001f0| 20 66 6f 6c 64 65 72 20 | 6f 66 20 61 20 0d 47 53 | folder |of a .GS| |00000200| 2f 4f 53 20 64 69 73 6b | 20 61 6e 64 20 72 65 6e |/OS disk| and ren| |00000210| 61 6d 65 20 69 74 20 74 | 6f 20 50 72 6f 44 4f 53 |ame it t|o ProDOS| |00000220| 20 6f 6e 20 74 68 65 20 | 66 6c 6f 70 70 79 29 2e | on the |floppy).| |00000230| 20 20 54 68 65 20 0d 42 | 55 49 4c 44 41 50 50 2e | The .B|UILDAPP.| |00000240| 53 59 53 54 45 4d 20 61 | 6e 64 20 42 55 49 4c 44 |SYSTEM a|nd BUILD| |00000250| 41 50 50 2e 54 45 58 54 | 20 66 69 6c 65 73 20 28 |APP.TEXT| files (| |00000260| 66 6f 75 6e 64 20 69 6e | 20 74 68 65 20 66 6f 6c |found in| the fol| |00000270| 64 65 72 20 0d 70 72 6f | 64 6f 73 2e 73 74 75 66 |der .pro|dos.stuf| |00000280| 66 29 20 73 68 6f 75 6c | 64 20 62 65 20 63 6f 70 |f) shoul|d be cop| |00000290| 69 65 64 20 74 6f 20 74 | 68 65 20 50 72 6f 44 4f |ied to t|he ProDO| |000002a0| 53 20 64 69 73 6b 20 76 | 69 61 20 41 70 70 6c 65 |S disk v|ia Apple| |000002b0| 20 46 69 6c 65 20 0d 45 | 78 63 68 61 6e 67 65 20 | File .E|xchange | |000002c0| 6f 72 20 63 6f 70 69 65 | 64 20 6f 76 65 72 20 61 |or copie|d over a| |000002d0| 20 73 65 72 76 65 72 2e | 20 20 57 68 65 6e 20 63 | server.| When c| |000002e0| 6f 70 69 65 64 20 74 6f | 20 74 68 65 20 50 72 6f |opied to| the Pro| |000002f0| 44 4f 53 20 64 69 73 6b | 2c 20 74 68 65 20 0d 66 |DOS disk|, the .f| |00000300| 69 6c 65 74 79 70 65 2f | 61 75 78 74 79 70 65 20 |iletype/|auxtype | |00000310| 6f 66 20 42 55 49 4c 44 | 41 50 50 2e 53 59 53 54 |of BUILD|APP.SYST| |00000320| 45 4d 20 73 68 6f 75 6c | 64 20 62 65 20 24 46 46 |EM shoul|d be $FF| |00000330| 2f 24 30 30 30 30 2c 20 | 61 6e 64 20 74 68 65 20 |/$0000, |and the | |00000340| 0d 66 69 6c 65 74 79 70 | 65 2f 61 75 78 74 79 70 |.filetyp|e/auxtyp| |00000350| 65 20 6f 66 20 42 55 49 | 4c 44 41 50 50 2e 54 45 |e of BUI|LDAPP.TE| |00000360| 58 54 20 73 68 6f 75 6c | 64 20 62 65 20 24 30 34 |XT shoul|d be $04| |00000370| 2f 24 30 30 30 30 2e 0d | 0d 53 74 65 70 20 33 3a |/$0000..|.Step 3:| |00000380| 09 53 74 61 72 74 20 4d | 50 57 20 62 79 20 63 6c |.Start M|PW by cl| |00000390| 69 63 6b 69 6e 67 20 6f | 6e 20 61 6e 79 20 6f 66 |icking o|n any of| |000003a0| 20 74 68 65 20 73 6f 75 | 72 63 65 20 66 69 6c 65 | the sou|rce file| |000003b0| 73 20 69 6e 20 74 68 65 | 20 70 72 6f 6a 65 63 74 |s in the| project| |000003c0| 20 0d 64 69 72 65 63 74 | 6f 72 79 2e 20 20 44 6f | .direct|ory. Do| |000003d0| 20 61 20 66 75 6c 6c 2d | 62 75 69 6c 64 20 6f 66 | a full-|build of| |000003e0| 20 53 41 4d 50 4c 45 2e | 20 20 57 68 65 6e 20 70 | SAMPLE.| When p| |000003f0| 72 6f 6d 70 74 65 64 2c | 20 69 6e 73 65 72 74 20 |rompted,| insert | |00000400| 74 68 65 20 50 72 6f 44 | 4f 53 20 0d 64 69 73 6b |the ProD|OS .disk| |00000410| 2e 0d 0d 53 74 65 70 20 | 34 3a 09 49 6e 73 65 72 |...Step |4:.Inser| |00000420| 74 20 74 68 65 20 50 72 | 6f 44 4f 53 20 64 69 73 |t the Pr|oDOS dis| |00000430| 6b 20 69 6e 74 6f 20 74 | 68 65 20 41 70 70 6c 65 |k into t|he Apple| |00000440| 20 49 49 20 28 6f 72 20 | 49 49 47 53 29 2e 20 20 | II (or |IIGS). | |00000450| 42 6f 6f 74 20 69 74 2e | 20 20 0d 28 4f 72 20 64 |Boot it.| .(Or d| |00000460| 6f 75 62 6c 65 20 63 6c | 69 63 6b 20 6f 6e 20 42 |ouble cl|ick on B| |00000470| 55 49 4c 44 41 50 50 2e | 53 59 53 54 45 4d 20 66 |UILDAPP.|SYSTEM f| |00000480| 72 6f 6d 20 74 68 65 20 | 66 69 6e 64 65 72 2e 29 |rom the |finder.)| |00000490| 0d 0d 0d 59 6f 75 20 73 | 68 6f 75 6c 64 20 6e 6f |...You s|hould no| |000004a0| 77 20 62 65 20 72 75 6e | 6e 69 6e 67 20 74 68 65 |w be run|ning the| |000004b0| 20 44 59 4e 41 4d 4f 20 | 73 61 6d 70 6c 65 20 61 | DYNAMO |sample a| |000004c0| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 20 54 68 69 |pplicati|on. Thi| |000004d0| 73 20 73 61 6d 70 6c 65 | 20 0d 69 73 20 73 69 6d |s sample| .is sim| |000004e0| 70 6c 79 20 61 6e 20 65 | 78 65 72 63 69 73 65 72 |ply an e|xerciser| |000004f0| 20 6f 66 20 74 68 65 20 | 44 59 4e 41 4d 4f 20 72 | of the |DYNAMO r| |00000500| 75 6e 74 69 6d 65 20 72 | 6f 75 74 69 6e 65 73 2e |untime r|outines.| |00000510| 20 20 49 74 20 74 65 73 | 74 73 20 74 68 65 20 72 | It tes|ts the r| |00000520| 6f 75 74 69 6e 65 73 2c | 20 0d 61 6e 64 20 61 6c |outines,| .and al| |00000530| 73 6f 20 74 68 65 20 73 | 6f 75 72 63 65 20 63 6f |so the s|ource co| |00000540| 64 65 20 64 65 6d 6f 6e | 73 74 72 61 74 65 73 20 |de demon|strates | |00000550| 75 73 69 6e 67 20 74 68 | 65 20 72 75 6e 74 69 6d |using th|e runtim| |00000560| 65 20 61 6e 64 20 6d 61 | 63 72 6f 20 0d 6c 69 62 |e and ma|cro .lib| |00000570| 72 61 72 69 65 73 2e 0d | 0d 0d 0d 4e 6f 77 2c 20 |raries..|...Now, | |00000580| 66 6f 72 20 6d 6f 72 65 | 20 64 65 74 61 69 6c 3a |for more| detail:| |00000590| 0d 0d 0d 0d 54 68 65 20 | 42 55 49 4c 44 41 50 50 |....The |BUILDAPP| |000005a0| 2e 53 59 53 54 45 4d 20 | 70 72 6f 67 72 61 6d 20 |.SYSTEM |program | |000005b0| 61 6c 6c 6f 77 73 20 74 | 68 65 20 64 65 76 65 6c |allows t|he devel| |000005c0| 6f 70 65 72 20 74 6f 20 | 62 75 69 6c 64 20 61 20 |oper to |build a | |000005d0| 0d 6d 75 6c 74 69 70 6c | 65 2d 73 65 67 6d 65 6e |.multipl|e-segmen| |000005e0| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 69 6e |t applic|ation in| |000005f0| 74 6f 20 6f 6e 65 20 70 | 72 6f 67 72 61 6d 20 66 |to one p|rogram f| |00000600| 69 6c 65 2c 20 61 6e 64 | 20 74 6f 20 6c 61 75 6e |ile, and| to laun| |00000610| 63 68 20 69 74 20 73 69 | 6d 70 6c 79 20 0d 6f 6e |ch it si|mply .on| |00000620| 20 74 68 65 20 2f 2f 65 | 2e 20 20 53 65 67 6d 65 | the //e|. Segme| |00000630| 6e 74 73 20 61 72 65 20 | 61 75 74 6f 6d 61 74 69 |nts are |automati| |00000640| 63 61 6c 6c 79 20 72 65 | 6c 6f 63 61 74 65 64 20 |cally re|located | |00000650| 74 6f 20 61 70 70 72 6f | 70 72 69 61 74 65 20 62 |to appro|priate b| |00000660| 61 6e 6b 73 20 6f 66 20 | 0d 6d 65 6d 6f 72 79 2c |anks of |.memory,| |00000670| 20 61 6e 64 20 74 68 65 | 6e 20 74 68 65 20 61 70 | and the|n the ap| |00000680| 70 6c 69 63 61 74 69 6f | 6e 20 69 73 20 6c 61 75 |plicatio|n is lau| |00000690| 6e 63 68 65 64 20 73 74 | 61 72 74 69 6e 67 20 61 |nched st|arting a| |000006a0| 74 20 61 6e 79 20 61 64 | 64 72 65 73 73 20 69 6e |t any ad|dress in| |000006b0| 20 61 6e 79 20 0d 62 61 | 6e 6b 20 63 68 6f 73 65 | any .ba|nk chose| |000006c0| 6e 2e 0d 0d 42 55 49 4c | 44 41 50 50 2e 53 59 53 |n...BUIL|DAPP.SYS| |000006d0| 54 45 4d 20 75 73 65 73 | 20 61 20 74 65 78 74 20 |TEM uses| a text | |000006e0| 66 69 6c 65 20 61 73 20 | 61 20 73 63 72 69 70 74 |file as |a script| |000006f0| 20 66 6f 72 20 62 75 69 | 6c 64 69 6e 67 20 74 68 | for bui|lding th| |00000700| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 20 |e applic|ation. | |00000710| 0d 54 68 65 20 64 65 66 | 61 75 6c 74 20 6e 61 6d |.The def|ault nam| |00000720| 65 20 66 6f 72 20 74 68 | 69 73 20 74 65 78 74 20 |e for th|is text | |00000730| 66 69 6c 65 20 69 73 20 | 42 55 49 4c 44 41 50 50 |file is |BUILDAPP| |00000740| 2e 54 45 58 54 2e 20 20 | 54 68 69 73 20 63 61 6e |.TEXT. |This can| |00000750| 20 62 65 20 0d 63 68 61 | 6e 67 65 64 20 62 79 20 | be .cha|nged by | |00000760| 6d 6f 64 69 66 79 69 6e | 67 20 74 68 65 20 70 61 |modifyin|g the pa| |00000770| 74 68 6e 61 6d 65 20 69 | 6e 20 74 68 65 20 70 72 |thname i|n the pr| |00000780| 6f 67 72 61 6d 20 42 55 | 49 4c 44 41 50 50 2e 53 |ogram BU|ILDAPP.S| |00000790| 59 53 54 45 4d 2e 20 20 | 0d 54 68 65 20 70 61 74 |YSTEM. |.The pat| |000007a0| 68 6e 61 6d 65 20 73 74 | 61 72 74 73 20 61 74 20 |hname st|arts at | |000007b0| 74 68 65 20 73 69 78 74 | 68 20 62 79 74 65 20 6f |the sixt|h byte o| |000007c0| 66 20 74 68 65 20 66 69 | 6c 65 2c 20 6d 65 6d 6f |f the fi|le, memo| |000007d0| 72 79 20 6c 6f 63 61 74 | 69 6f 6e 20 24 32 30 30 |ry locat|ion $200| |000007e0| 36 20 69 66 20 0d 42 4c | 4f 41 44 65 64 2e 20 20 |6 if .BL|OADed. | |000007f0| 54 68 65 20 70 61 74 68 | 6e 61 6d 65 20 69 73 20 |The path|name is | |00000800| 61 20 70 61 73 63 61 6c | 20 73 74 72 69 6e 67 2e |a pascal| string.| |00000810| 20 20 28 54 68 69 73 20 | 69 73 20 74 68 65 20 73 | (This |is the s| |00000820| 74 61 6e 64 61 72 64 20 | 50 72 6f 44 4f 53 20 0d |tandard |ProDOS .| |00000830| 77 61 79 20 6f 66 20 67 | 69 76 69 6e 67 20 74 68 |way of g|iving th| |00000840| 65 20 6c 61 75 6e 63 68 | 65 64 20 61 70 70 6c 69 |e launch|ed appli| |00000850| 63 61 74 69 6f 6e 20 61 | 20 70 61 74 68 6e 61 6d |cation a| pathnam| |00000860| 65 2e 29 0d 0d 54 6f 20 | 75 73 65 20 74 68 65 20 |e.)..To |use the | |00000870| 42 55 49 4c 44 41 50 50 | 2e 53 59 53 54 45 4d 20 |BUILDAPP|.SYSTEM | |00000880| 70 72 6f 67 72 61 6d 2c | 20 79 6f 75 20 77 69 6c |program,| you wil| |00000890| 6c 20 6e 65 65 64 20 61 | 20 64 69 73 6b 20 77 69 |l need a| disk wi| |000008a0| 74 68 20 0d 50 72 6f 44 | 4f 53 2c 20 74 68 65 20 |th .ProD|OS, the | |000008b0| 42 55 49 4c 44 41 50 50 | 2e 53 59 53 54 45 4d 20 |BUILDAPP|.SYSTEM | |000008c0| 70 72 6f 67 72 61 6d 2c | 20 61 20 62 75 69 6c 64 |program,| a build| |000008d0| 20 73 63 72 69 70 74 20 | 66 69 6c 65 20 63 61 6c | script |file cal| |000008e0| 6c 65 64 20 0d 42 55 49 | 4c 44 41 50 50 2e 54 45 |led .BUI|LDAPP.TE| |000008f0| 58 54 2c 20 61 6e 64 20 | 61 6c 6c 20 74 68 65 20 |XT, and |all the | |00000900| 73 65 67 6d 65 6e 74 73 | 20 6f 66 20 79 6f 75 72 |segments| of your| |00000910| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6f 6e 20 | applica|tion on | |00000920| 6f 6e 65 20 64 69 73 6b | 2e 20 20 0d 54 68 69 73 |one disk|. .This| |00000930| 20 64 69 73 6b 20 69 73 | 20 6e 6f 77 20 62 6f 6f | disk is| now boo| |00000940| 74 61 62 6c 65 2e 20 20 | 57 68 65 6e 20 74 68 65 |table. |When the| |00000950| 20 64 69 73 6b 20 69 73 | 20 62 6f 6f 74 65 64 2c | disk is| booted,| |00000960| 20 42 55 49 4c 44 41 50 | 50 2e 53 59 53 54 45 4d | BUILDAP|P.SYSTEM| |00000970| 20 0d 77 69 6c 6c 20 63 | 6f 6e 73 74 72 75 63 74 | .will c|onstruct| |00000980| 20 61 20 73 69 6e 67 6c | 65 20 65 78 65 63 75 74 | a singl|e execut| |00000990| 61 62 6c 65 20 62 6c 6f | 63 6b 20 6f 66 20 63 6f |able blo|ck of co| |000009a0| 64 65 20 73 74 61 72 74 | 69 6e 67 20 61 74 20 61 |de start|ing at a| |000009b0| 64 64 72 65 73 73 20 24 | 32 30 30 30 2e 20 20 0d |ddress $|2000. .| |000009c0| 54 68 65 6e 20 69 74 20 | 77 69 6c 6c 20 70 72 6f |Then it |will pro| |000009d0| 6d 70 74 20 79 6f 75 20 | 61 73 20 74 6f 20 77 68 |mpt you |as to wh| |000009e0| 65 74 68 65 72 20 6f 72 | 20 6e 6f 74 20 79 6f 75 |ether or| not you| |000009f0| 20 77 61 6e 74 20 74 6f | 20 73 61 76 65 20 74 68 | want to| save th| |00000a00| 69 73 20 69 6d 61 67 65 | 2e 20 20 0d 44 75 72 69 |is image|. .Duri| |00000a10| 6e 67 20 64 65 76 65 6c | 6f 70 6d 65 6e 74 2c 20 |ng devel|opment, | |00000a20| 79 6f 75 20 77 69 6c 6c | 20 6f 66 74 65 6e 20 63 |you will| often c| |00000a30| 68 6f 6f 73 65 20 6e 6f | 74 20 74 6f 20 73 61 76 |hoose no|t to sav| |00000a40| 65 20 69 74 2c 20 73 69 | 6e 63 65 20 69 74 20 74 |e it, si|nce it t| |00000a50| 61 6b 65 73 20 6a 75 73 | 74 20 0d 74 68 61 74 20 |akes jus|t .that | |00000a60| 6d 75 63 68 20 6c 6f 6e | 67 65 72 20 74 6f 20 67 |much lon|ger to g| |00000a70| 65 74 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |et the a|pplicati| |00000a80| 6f 6e 20 65 78 65 63 75 | 74 69 6e 67 2e 20 20 54 |on execu|ting. T| |00000a90| 68 65 6e 20 79 6f 75 20 | 63 61 6e 20 74 65 73 74 |hen you |can test| |00000aa0| 20 79 6f 75 72 20 0d 6c | 61 74 65 73 74 20 61 64 | your .l|atest ad| |00000ab0| 64 69 74 69 6f 6e 20 6f | 72 20 63 68 61 6e 67 65 |dition o|r change| |00000ac0| 20 74 6f 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | to your| applica| |00000ad0| 74 69 6f 6e 2e 20 20 54 | 6f 20 6d 61 6b 65 20 61 |tion. T|o make a| |00000ae0| 20 62 6f 6f 74 61 62 6c | 65 20 64 69 73 6b 20 0d | bootabl|e disk .| |00000af0| 77 69 74 68 6f 75 74 20 | 42 55 49 4c 44 41 50 50 |without |BUILDAPP| |00000b00| 2e 53 59 53 54 45 4d 2c | 20 79 6f 75 20 6a 75 73 |.SYSTEM,| you jus| |00000b10| 74 20 73 61 76 65 20 74 | 68 65 20 61 70 70 6c 69 |t save t|he appli| |00000b20| 63 61 74 69 6f 6e 20 69 | 6d 61 67 65 20 74 6f 20 |cation i|mage to | |00000b30| 64 69 73 6b 20 0d 77 68 | 65 6e 20 70 72 6f 6d 70 |disk .wh|en promp| |00000b40| 74 65 64 2c 20 61 6e 64 | 20 74 68 65 6e 20 63 6f |ted, and| then co| |00000b50| 70 79 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |py the a|pplicati| |00000b60| 6f 6e 20 74 6f 20 61 20 | 64 69 73 6b 20 77 69 74 |on to a |disk wit| |00000b70| 68 20 6a 75 73 74 20 50 | 72 6f 44 4f 53 20 0d 6f |h just P|roDOS .o| |00000b80| 6e 20 69 74 2e 20 20 49 | 66 20 74 68 65 20 61 70 |n it. I|f the ap| |00000b90| 70 6c 69 63 61 74 69 6f | 6e 20 6e 61 6d 65 20 65 |plicatio|n name e| |00000ba0| 6e 64 73 20 77 69 74 68 | 20 2e 53 59 53 54 45 4d |nds with| .SYSTEM| |00000bb0| 2c 20 61 6e 64 20 69 74 | 20 68 61 73 20 61 20 66 |, and it| has a f| |00000bc0| 69 6c 65 74 79 70 65 20 | 6f 66 20 0d 24 46 46 2c |iletype |of .$FF,| |00000bd0| 20 79 6f 75 20 68 61 76 | 65 20 61 20 62 6f 6f 74 | you hav|e a boot| |00000be0| 61 62 6c 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |able app|lication| |00000bf0| 2e 0d 0d 0d 59 6f 75 20 | 6d 61 79 20 77 69 73 68 |....You |may wish| |00000c00| 20 74 6f 20 64 65 76 65 | 6c 6f 70 20 6f 6e 20 6f | to deve|lop on o| |00000c10| 6e 65 20 6d 61 63 68 69 | 6e 65 2c 20 77 68 69 63 |ne machi|ne, whic| |00000c20| 68 20 77 72 69 74 65 73 | 20 74 68 65 20 73 65 67 |h writes| the seg| |00000c30| 6d 65 6e 74 73 20 74 6f | 20 74 68 65 20 0d 50 72 |ments to| the .Pr| |00000c40| 6f 44 4f 53 20 64 69 73 | 6b 2c 20 61 6e 64 20 74 |oDOS dis|k, and t| |00000c50| 68 65 6e 20 6a 75 73 74 | 20 62 6f 6f 74 20 74 68 |hen just| boot th| |00000c60| 65 20 64 69 73 6b 20 6f | 6e 20 61 6e 6f 74 68 65 |e disk o|n anothe| |00000c70| 72 20 6d 61 63 68 69 6e | 65 2e 20 20 54 68 69 73 |r machin|e. This| |00000c80| 20 73 61 76 65 73 20 61 | 20 0d 6c 6f 74 20 6f 66 | saves a| .lot of| |00000c90| 20 74 69 6d 65 20 62 6f | 6f 74 69 6e 67 20 69 6e | time bo|oting in| |00000ca0| 74 6f 20 79 6f 75 72 20 | 64 65 76 65 6c 6f 70 6d |to your |developm| |00000cb0| 65 6e 74 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2e |ent envi|ronment.| |00000cc0| 20 20 54 68 65 72 65 20 | 69 73 20 61 6c 73 6f 20 | There |is also | |00000cd0| 74 68 65 20 0d 61 64 76 | 61 6e 74 61 67 65 20 6f |the .adv|antage o| |00000ce0| 66 20 61 6c 77 61 79 73 | 20 62 65 69 6e 67 20 61 |f always| being a| |00000cf0| 62 6c 65 20 74 6f 20 6c | 6f 6f 6b 20 61 74 20 74 |ble to l|ook at t| |00000d00| 68 65 20 6d 6f 73 74 20 | 63 75 72 72 65 6e 74 20 |he most |current | |00000d10| 73 6f 75 72 63 65 20 77 | 68 69 6c 65 20 0d 65 78 |source w|hile .ex| |00000d20| 65 63 75 74 69 6e 67 20 | 74 68 65 20 70 72 6f 67 |ecuting |the prog| |00000d30| 72 61 6d 2e 20 20 59 6f | 75 20 64 6f 6e 27 74 20 |ram. Yo|u don't | |00000d40| 6e 65 65 64 20 74 77 6f | 20 6d 61 63 68 69 6e 65 |need two| machine| |00000d50| 73 20 74 6f 20 64 65 76 | 65 6c 6f 70 2c 20 62 75 |s to dev|elop, bu| |00000d60| 74 20 69 74 20 77 69 6c | 6c 20 0d 64 65 66 69 6e |t it wil|l .defin| |00000d70| 69 74 65 6c 79 20 73 70 | 65 65 64 20 75 70 20 74 |itely sp|eed up t| |00000d80| 68 65 20 61 64 64 2f 63 | 68 61 6e 67 65 2f 74 65 |he add/c|hange/te| |00000d90| 73 74 20 64 65 76 65 6c | 6f 70 6d 65 6e 74 20 63 |st devel|opment c| |00000da0| 79 63 6c 65 20 65 76 65 | 72 79 20 0d 70 72 6f 67 |ycle eve|ry .prog| |00000db0| 72 61 6d 6d 65 72 20 67 | 6f 65 73 20 74 68 72 6f |rammer g|oes thro| |00000dc0| 75 67 68 2e 0d 0d 0d 0d | 48 6f 77 20 74 68 65 20 |ugh.....|How the | |00000dd0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 69 73 20 62 |applicat|ion is b| |00000de0| 75 69 6c 64 20 64 65 70 | 65 6e 64 73 20 6f 6e 20 |uild dep|ends on | |00000df0| 74 68 65 20 42 55 49 4c | 44 41 50 50 2e 54 45 58 |the BUIL|DAPP.TEX| |00000e00| 54 20 73 63 72 69 70 74 | 20 66 69 6c 65 2e 20 20 |T script| file. | |00000e10| 0d 48 65 72 65 20 69 73 | 20 74 68 65 20 65 78 70 |.Here is| the exp| |00000e20| 6c 61 6e 61 74 69 6f 6e | 20 6f 66 20 74 68 69 73 |lanation| of this| |00000e30| 20 66 69 6c 65 3a 0d 0d | 54 68 65 20 66 69 72 73 | file:..|The firs| |00000e40| 74 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 62 75 |t line o|f the bu| |00000e50| 69 6c 64 20 73 63 72 69 | 70 74 20 69 73 20 74 68 |ild scri|pt is th| |00000e60| 65 20 70 61 74 68 6e 61 | 6d 65 20 74 68 61 74 20 |e pathna|me that | |00000e70| 77 69 6c 6c 20 62 65 20 | 70 6c 61 63 65 64 20 61 |will be |placed a| |00000e80| 74 20 24 32 30 30 36 20 | 0d 6f 66 20 74 68 65 20 |t $2006 |.of the | |00000e90| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 20 20 59 6f |applicat|ion. Yo| |00000ea0| 75 20 6d 61 79 20 68 61 | 76 65 20 6e 6f 20 6e 65 |u may ha|ve no ne| |00000eb0| 65 64 20 66 6f 72 20 74 | 68 69 73 2c 20 62 75 74 |ed for t|his, but| |00000ec0| 20 69 66 20 79 6f 75 20 | 61 72 65 20 0d 64 65 76 | if you |are .dev| |00000ed0| 65 6c 6f 70 69 6e 67 20 | 61 20 73 79 73 74 65 6d |eloping |a system| |00000ee0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 6c 61 | applica|tion, la| |00000ef0| 75 6e 63 68 65 72 73 20 | 6d 61 79 20 70 6c 61 63 |unchers |may plac| |00000f00| 65 20 61 20 70 61 74 68 | 6e 61 6d 65 20 74 68 65 |e a path|name the| |00000f10| 72 65 2c 20 61 6e 64 20 | 0d 79 6f 75 20 6d 61 79 |re, and |.you may| |00000f20| 20 77 61 6e 74 20 61 20 | 64 65 66 61 75 6c 74 2e | want a |default.| |00000f30| 0d 0d 4c 69 6e 65 73 20 | 32 2d 4e 20 61 72 65 20 |..Lines |2-N are | |00000f40| 66 6f 72 20 74 68 65 20 | 73 65 67 6d 65 6e 74 73 |for the |segments| |00000f50| 20 74 6f 20 62 65 20 6c | 6f 61 64 65 64 2e 20 20 | to be l|oaded. | |00000f60| 54 68 65 20 66 69 72 73 | 74 20 66 69 65 6c 64 20 |The firs|t field | |00000f70| 69 73 20 74 68 65 20 6d | 6f 64 65 20 0d 62 79 74 |is the m|ode .byt| |00000f80| 65 2e 20 20 42 69 74 73 | 20 30 2d 32 20 6f 66 20 |e. Bits| 0-2 of | |00000f90| 74 68 65 20 6d 6f 64 65 | 20 62 79 74 65 20 69 6e |the mode| byte in| |00000fa0| 64 69 63 61 74 65 20 77 | 68 61 74 20 62 61 6e 6b |dicate w|hat bank| |00000fb0| 20 6f 66 20 6d 65 6d 6f | 72 79 20 74 68 65 20 73 | of memo|ry the s| |00000fc0| 65 67 6d 65 6e 74 20 0d | 73 68 6f 75 6c 64 20 62 |egment .|should b| |00000fd0| 65 20 74 72 61 6e 73 66 | 65 72 72 65 64 20 74 6f |e transf|erred to| |00000fe0| 20 61 74 20 65 78 65 63 | 75 74 69 6f 6e 20 74 69 | at exec|ution ti| |00000ff0| 6d 65 2e 0d 0d 42 69 74 | 20 30 20 69 6e 64 69 63 |me...Bit| 0 indic| |00001000| 61 74 65 73 20 52 4f 4d | 20 6f 72 20 6c 61 6e 67 |ates ROM| or lang| |00001010| 75 61 67 65 20 63 61 72 | 64 2e 20 20 4f 66 66 20 |uage car|d. Off | |00001020| 66 6f 72 20 52 4f 4d 2c | 20 6f 6e 20 66 6f 72 20 |for ROM,| on for | |00001030| 6c 61 6e 67 75 61 67 65 | 20 63 61 72 64 2e 0d 0d |language| card...| |00001040| 42 69 74 20 31 20 69 6e | 64 69 63 61 74 65 73 20 |Bit 1 in|dicates | |00001050| 77 68 69 63 68 20 6c 61 | 6e 67 75 61 67 65 20 63 |which la|nguage c| |00001060| 61 72 64 20 28 69 66 20 | 62 69 74 20 30 20 69 73 |ard (if |bit 0 is| |00001070| 20 6f 6e 29 2e 20 20 4f | 66 66 20 66 6f 72 20 70 | on). O|ff for p| |00001080| 72 69 6d 61 72 79 20 0d | 6c 61 6e 67 75 61 67 65 |rimary .|language| |00001090| 20 63 61 72 64 2c 20 6f | 6e 20 66 6f 72 20 61 75 | card, o|n for au| |000010a0| 78 69 6c 69 61 72 79 20 | 6c 61 6e 67 75 61 67 65 |xiliary |language| |000010b0| 20 63 61 72 64 2e 0d 0d | 42 69 74 20 32 20 69 6e | card...|Bit 2 in| |000010c0| 64 69 63 61 74 65 73 20 | 31 73 74 20 6f 72 20 32 |dicates |1st or 2| |000010d0| 6e 64 20 24 44 30 30 30 | 20 62 61 6e 6b 20 6f 66 |nd $D000| bank of| |000010e0| 20 6c 61 6e 67 75 61 67 | 65 20 63 61 72 64 2e 20 | languag|e card. | |000010f0| 20 57 68 69 63 68 20 6c | 61 6e 67 75 61 67 65 20 | Which l|anguage | |00001100| 0d 63 61 72 64 20 69 73 | 20 73 74 69 6c 6c 20 69 |.card is| still i| |00001110| 6e 64 69 63 61 74 65 64 | 20 62 79 20 62 69 74 20 |ndicated| by bit | |00001120| 30 20 61 6e 64 20 31 2e | 20 20 4f 66 66 20 73 65 |0 and 1.| Off se| |00001130| 6c 65 63 74 73 20 74 68 | 65 20 73 65 63 6f 6e 64 |lects th|e second| |00001140| 61 72 79 20 24 44 30 30 | 30 20 62 61 6e 6b 20 0d |ary $D00|0 bank .| |00001150| 28 24 43 30 38 33 29 2c | 20 61 6e 64 20 6f 6e 20 |($C083),| and on | |00001160| 73 65 6c 65 63 74 73 20 | 74 68 65 20 70 72 69 6d |selects |the prim| |00001170| 61 72 79 20 24 44 30 30 | 30 20 62 61 6e 6b 20 28 |ary $D00|0 bank (| |00001180| 24 43 30 38 42 29 2e 0d | 0d 42 69 74 20 33 20 69 |$C08B)..|.Bit 3 i| |00001190| 6e 64 69 63 61 74 65 73 | 20 70 72 69 6d 61 72 79 |ndicates| primary| |000011a0| 20 6f 72 20 61 75 78 69 | 6c 69 61 72 79 20 34 38 | or auxi|liary 48| |000011b0| 6b 2e 20 20 4f 66 66 20 | 66 6f 72 20 70 72 69 6d |k. Off |for prim| |000011c0| 61 72 79 2c 20 6f 6e 20 | 66 6f 72 20 61 75 78 69 |ary, on |for auxi| |000011d0| 6c 69 61 72 79 2e 0d 0d | 42 69 74 20 34 20 69 6e |liary...|Bit 4 in| |000011e0| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 74 68 65 |dicates |that the| |000011f0| 20 61 75 78 69 6c 69 61 | 72 79 20 73 74 61 63 6b | auxilia|ry stack| |00001200| 20 70 6f 69 6e 74 65 72 | 20 73 68 6f 75 6c 64 20 | pointer| should | |00001210| 4e 4f 54 20 62 65 20 69 | 6e 69 74 69 61 6c 69 7a |NOT be i|nitializ| |00001220| 65 64 2e 20 20 49 66 20 | 0d 79 6f 75 20 6c 6f 61 |ed. If |.you loa| |00001230| 64 20 61 20 62 6c 6f 63 | 6b 20 6f 66 20 63 6f 64 |d a bloc|k of cod| |00001240| 65 20 6f 72 20 64 61 74 | 61 20 69 6e 74 6f 20 74 |e or dat|a into t| |00001250| 68 65 20 61 75 78 69 6c | 69 61 72 79 20 6c 61 6e |he auxil|iary lan| |00001260| 67 75 61 67 65 20 63 61 | 72 64 2c 20 74 68 65 20 |guage ca|rd, the | |00001270| 0d 61 75 78 69 6c 69 61 | 72 79 20 73 74 61 63 6b |.auxilia|ry stack| |00001280| 20 70 6f 69 6e 74 65 72 | 20 69 73 20 69 6e 69 74 | pointer| is init| |00001290| 69 61 6c 69 7a 65 64 20 | 74 6f 20 24 46 46 20 75 |ialized |to $FF u| |000012a0| 6e 6c 65 73 73 20 79 6f | 75 20 69 6e 64 69 63 61 |nless yo|u indica| |000012b0| 74 65 20 6f 74 68 65 72 | 77 69 73 65 20 62 79 20 |te other|wise by | |000012c0| 0d 73 65 74 74 69 6e 67 | 20 74 68 69 73 20 62 69 |.setting| this bi| |000012d0| 74 20 6f 6e 2e 0d 0d 42 | 69 74 20 37 20 6f 66 20 |t on...B|it 7 of | |000012e0| 74 68 65 20 6d 6f 64 65 | 20 62 79 74 65 20 62 65 |the mode| byte be| |000012f0| 69 6e 67 20 6f 6e 20 69 | 6e 64 69 63 61 74 65 73 |ing on i|ndicates| |00001300| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the | |00001310| 73 65 67 6d 65 6e 74 20 | 6c 69 73 74 2e 20 20 42 |segment |list. B| |00001320| 69 74 73 20 0d 30 2d 33 | 20 73 74 69 6c 6c 20 69 |its .0-3| still i| |00001330| 6e 64 69 63 61 74 65 20 | 61 20 62 61 6e 6b 20 6f |ndicate |a bank o| |00001340| 66 20 6d 65 6d 6f 72 79 | 2c 20 61 6e 64 20 74 68 |f memory|, and th| |00001350| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 66 69 65 6c |e follow|ing fiel| |00001360| 64 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 65 20 |d indica|tes the | |00001370| 0d 6c 61 75 6e 63 68 20 | 61 64 64 72 65 73 73 20 |.launch |address | |00001380| 77 69 74 68 69 6e 20 74 | 68 61 74 20 62 61 6e 6b |within t|hat bank| |00001390| 2e 0d 0d 54 68 65 20 73 | 65 63 6f 6e 64 20 66 69 |...The s|econd fi| |000013a0| 65 6c 64 20 69 73 20 74 | 68 65 20 6c 6f 61 64 20 |eld is t|he load | |000013b0| 61 64 64 72 65 73 73 2e | 20 20 54 68 69 73 20 69 |address.| This i| |000013c0| 73 20 74 68 65 20 61 64 | 64 72 65 73 73 20 74 68 |s the ad|dress th| |000013d0| 65 20 73 65 67 6d 65 6e | 74 20 77 69 6c 6c 20 62 |e segmen|t will b| |000013e0| 65 20 0d 6d 6f 76 65 64 | 20 74 6f 20 61 74 20 65 |e .moved| to at e| |000013f0| 78 65 63 75 74 69 6f 6e | 20 74 69 6d 65 2e 0d 0d |xecution| time...| |00001400| 54 68 65 20 74 68 69 72 | 64 20 66 69 65 6c 64 20 |The thir|d field | |00001410| 69 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |is the n|ame of t| |00001420| 68 65 20 73 65 67 6d 65 | 6e 74 20 69 74 73 65 6c |he segme|nt itsel| |00001430| 66 2e 20 20 54 68 69 73 | 20 63 61 6e 20 62 65 20 |f. This| can be | |00001440| 61 20 66 75 6c 6c 20 6f | 72 20 70 61 72 74 69 61 |a full o|r partia| |00001450| 6c 20 0d 70 61 74 68 6e | 61 6d 65 2e 0d 0d 54 68 |l .pathn|ame...Th| |00001460| 65 20 6e 65 78 74 20 74 | 77 6f 20 6c 69 6e 65 73 |e next t|wo lines| |00001470| 20 69 6e 64 69 63 61 74 | 65 20 77 68 65 74 68 65 | indicat|e whethe| |00001480| 72 20 79 6f 75 20 77 61 | 6e 74 20 68 65 78 20 6f |r you wa|nt hex o| |00001490| 72 20 64 65 63 69 6d 61 | 6c 20 69 6e 66 6f 72 6d |r decima|l inform| |000014a0| 61 74 69 6f 6e 20 0d 69 | 6e 64 69 63 61 74 69 6e |ation .i|ndicatin| |000014b0| 67 20 73 74 61 72 74 69 | 6e 67 20 61 64 64 72 65 |g starti|ng addre| |000014c0| 73 73 20 61 6e 64 20 74 | 6f 74 61 6c 20 61 70 70 |ss and t|otal app| |000014d0| 6c 69 63 61 74 69 6f 6e | 20 73 69 7a 65 2e 0d 0d |lication| size...| |000014e0| 54 68 65 20 66 69 6e 61 | 6c 20 6c 69 6e 65 20 69 |The fina|l line i| |000014f0| 6e 64 69 63 61 74 65 73 | 20 74 68 65 20 61 70 70 |ndicates| the app| |00001500| 6c 69 63 61 74 69 6f 6e | 20 66 69 6c 65 74 79 70 |lication| filetyp| |00001510| 65 2c 20 61 75 78 74 79 | 70 65 2c 20 61 6e 64 20 |e, auxty|pe, and | |00001520| 66 69 6c 65 6e 61 6d 65 | 2e 20 20 54 68 65 20 0d |filename|. The .| |00001530| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 62 75 69 6c |applicat|ion buil| |00001540| 64 65 72 20 77 69 6c 6c | 20 61 73 6b 20 69 66 20 |der will| ask if | |00001550| 79 6f 75 20 77 61 6e 74 | 20 74 68 65 20 61 70 70 |you want| the app| |00001560| 6c 69 63 61 74 69 6f 6e | 20 73 61 76 65 64 2e 20 |lication| saved. | |00001570| 20 41 66 74 65 72 20 74 | 68 65 20 66 69 6c 65 20 | After t|he file | |00001580| 0d 69 73 20 73 61 76 65 | 64 20 28 6f 72 20 6e 6f |.is save|d (or no| |00001590| 74 29 2c 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |t), the |applicat| |000015a0| 69 6f 6e 20 69 73 20 6c | 61 75 6e 63 68 65 64 20 |ion is l|aunched | |000015b0| 66 6f 72 20 74 65 73 74 | 69 6e 67 2e 0d 0d 41 6c |for test|ing...Al| |000015c0| 6c 20 6e 75 6d 65 72 69 | 63 20 66 69 65 6c 64 73 |l numeri|c fields| |000015d0| 20 63 61 6e 20 62 65 20 | 64 65 63 69 6d 61 6c 20 | can be |decimal | |000015e0| 6f 72 20 68 65 78 2e 0d | 0d 54 68 65 20 62 65 6c |or hex..|.The bel| |000015f0| 6f 77 20 69 73 20 61 20 | 73 61 6d 70 6c 65 20 62 |ow is a |sample b| |00001600| 75 69 6c 64 20 73 63 72 | 69 70 74 20 74 68 61 74 |uild scr|ipt that| |00001610| 20 77 61 73 20 75 73 65 | 64 20 74 6f 20 6d 61 6b | was use|d to mak| |00001620| 65 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |e the ap|plicatio| |00001630| 6e 20 0d 62 75 69 6c 64 | 65 72 20 69 74 73 65 6c |n .build|er itsel| |00001640| 66 2e 20 20 0d 0d 54 68 | 65 72 65 20 69 73 20 6f |f. ..Th|ere is o| |00001650| 6e 6c 79 20 6f 6e 65 20 | 73 65 67 6d 65 6e 74 20 |nly one |segment | |00001660| 66 6f 72 20 74 68 69 73 | 20 61 70 70 6c 69 63 61 |for this| applica| |00001670| 74 69 6f 6e 2e 20 20 54 | 68 65 20 72 75 6e 74 69 |tion. T|he runti| |00001680| 6d 65 20 77 61 73 20 6c | 69 6e 6b 65 64 20 69 6e |me was l|inked in| |00001690| 74 6f 20 0d 74 68 65 20 | 6d 61 69 6e 20 63 6f 64 |to .the |main cod| |000016a0| 65 20 6d 6f 64 75 6c 65 | 2c 20 67 65 6e 65 72 61 |e module|, genera| |000016b0| 74 69 6e 67 20 6f 6e 6c | 79 20 6f 6e 65 20 62 69 |ting onl|y one bi| |000016c0| 6e 61 72 79 20 63 6f 64 | 65 20 73 65 67 6d 65 6e |nary cod|e segmen| |000016d0| 74 2e 0d 0d 42 55 49 4c | 44 41 50 50 2e 54 45 58 |t...BUIL|DAPP.TEX| |000016e0| 54 09 09 09 3b 54 68 65 | 20 64 65 66 61 75 6c 74 |T...;The| default| |000016f0| 20 73 63 72 69 70 74 20 | 66 69 6c 65 6e 61 6d 65 | script |filename| |00001700| 2e 0d 30 2c 24 38 30 30 | 2c 42 55 49 4c 44 2e 42 |..0,$800|,BUILD.B| |00001710| 49 4e 09 09 3b 54 68 65 | 20 62 75 69 6c 64 61 70 |IN..;The| buildap| |00001720| 70 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 0d 24 |p applic|ation..$| |00001730| 38 30 2c 24 38 30 30 09 | 09 09 09 3b 53 74 61 72 |80,$800.|...;Star| |00001740| 74 69 6e 67 20 61 64 64 | 72 65 73 73 2e 0d 24 09 |ting add|ress..$.| |00001750| 09 09 09 09 09 3b 44 69 | 73 70 6c 61 79 20 73 74 |.....;Di|splay st| |00001760| 61 72 74 69 6e 67 20 61 | 64 64 72 65 73 73 20 69 |arting a|ddress i| |00001770| 6e 20 68 65 78 2e 0d 24 | 09 09 09 09 09 09 3b 44 |n hex..$|......;D| |00001780| 69 73 70 6c 61 79 20 61 | 70 70 6c 69 63 61 74 69 |isplay a|pplicati| |00001790| 6f 6e 20 73 69 7a 65 20 | 69 6e 20 68 65 78 2e 0d |on size |in hex..| |000017a0| 24 46 46 2c 30 2c 42 55 | 49 4c 44 41 50 50 2e 53 |$FF,0,BU|ILDAPP.S| |000017b0| 59 53 54 45 4d 09 3b 46 | 69 6c 65 74 79 70 65 2c |YSTEM.;F|iletype,| |000017c0| 20 61 75 78 74 79 70 65 | 2c 20 61 6e 64 20 66 69 | auxtype|, and fi| |000017d0| 6c 65 6e 61 6d 65 2e 0d | 0d 54 68 65 20 42 55 49 |lename..|.The BUI| |000017e0| 4c 44 41 50 50 2e 54 45 | 58 54 20 66 69 6c 65 20 |LDAPP.TE|XT file | |000017f0| 63 61 6e 20 62 65 20 75 | 70 20 74 6f 20 32 30 34 |can be u|p to 204| |00001800| 35 20 62 79 74 65 73 20 | 6c 6f 6e 67 2e 0d 0d 42 |5 bytes |long...B| |00001810| 61 6e 6b 20 73 77 69 74 | 63 68 69 6e 67 20 77 69 |ank swit|ching wi| |00001820| 6c 6c 20 73 74 69 6c 6c | 20 68 61 76 65 20 74 6f |ll still| have to| |00001830| 20 6f 63 63 75 72 20 77 | 69 74 68 69 6e 20 74 68 | occur w|ithin th| |00001840| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 61 |e applic|ation, a| |00001850| 73 20 6e 65 63 65 73 73 | 61 72 79 2e 20 20 0d 54 |s necess|ary. .T| |00001860| 68 65 72 65 20 69 73 20 | 6e 6f 20 67 65 74 74 69 |here is |no getti| |00001870| 6e 67 20 61 72 6f 75 6e | 64 20 74 68 61 74 20 6f |ng aroun|d that o| |00001880| 6e 20 61 20 2f 2f 65 2e | 20 20 42 55 49 4c 44 41 |n a //e.| BUILDA| |00001890| 50 50 2e 53 59 53 54 45 | 4d 20 69 73 20 74 6f 20 |PP.SYSTE|M is to | |000018a0| 0d 73 69 6d 70 6c 69 66 | 79 20 74 68 65 20 6c 6f |.simplif|y the lo| |000018b0| 61 64 69 6e 67 20 61 6e | 64 20 73 74 61 72 74 69 |ading an|d starti| |000018c0| 6e 67 20 6f 66 20 61 6e | 20 61 70 70 6c 69 63 61 |ng of an| applica| |000018d0| 74 69 6f 6e 2c 20 62 79 | 20 6d 61 6b 69 6e 67 20 |tion, by| making | |000018e0| 69 74 20 61 20 73 69 6e | 67 6c 65 2c 20 0d 6c 61 |it a sin|gle, .la| |000018f0| 75 6e 63 68 61 62 6c 65 | 20 66 69 6c 65 2e 0d 0d |unchable| file...| |00001900| 0d 0d 42 65 6c 6f 77 20 | 61 72 65 20 74 68 65 20 |..Below |are the | |00001910| 6d 61 63 72 6f 73 20 69 | 6e 63 6c 75 64 65 64 20 |macros i|ncluded | |00001920| 69 6e 20 74 68 65 20 72 | 75 6e 74 69 6d 65 2c 20 |in the r|untime, | |00001930| 61 6e 64 20 74 68 65 69 | 72 20 62 61 73 69 63 20 |and thei|r basic | |00001940| 75 73 61 67 65 3a 0d 0d | 5f 5f 5f 5f 5f 5f 5f 5f |usage:..|________| |00001950| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001960| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001970| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________| |00001980| 5f 5f 5f 5f 0d 5f 0d 0d | 4f 50 45 52 41 4e 44 20 |____._..|OPERAND | |00001990| 55 53 41 47 45 3a 0d 0d | 49 66 20 74 68 65 20 6f |USAGE:..|If the o| |000019a0| 70 65 72 61 6e 64 20 72 | 65 70 72 65 73 65 6e 74 |perand r|epresent| |000019b0| 73 20 61 6e 20 69 6e 74 | 65 67 65 72 20 76 61 72 |s an int|eger var| |000019c0| 69 61 62 6c 65 20 6f 72 | 20 73 74 72 69 6e 67 2c |iable or| string,| |000019d0| 20 74 68 65 6e 20 79 6f | 75 20 64 6f 20 6e 6f 74 | then yo|u do not| |000019e0| 20 70 75 74 20 61 20 0d | 23 20 69 6e 20 66 72 6f | put a .|# in fro| |000019f0| 6e 74 20 6f 66 20 69 74 | 2e 20 20 56 61 72 69 61 |nt of it|. Varia| |00001a00| 62 6c 65 73 20 61 6e 64 | 20 73 74 72 69 6e 67 73 |bles and| strings| |00001a10| 20 61 72 65 20 61 6c 77 | 61 79 73 20 65 69 74 68 | are alw|ays eith| |00001a20| 65 72 20 61 20 6c 64 78 | 20 6c 69 74 65 72 61 6c |er a ldx| literal| |00001a30| 2c 20 6f 72 20 61 20 6c | 64 79 20 0d 6c 69 74 65 |, or a l|dy .lite| |00001a40| 72 61 6c 2c 20 73 6f 20 | 74 68 65 20 23 20 69 73 |ral, so |the # is| |00001a50| 20 61 73 73 75 6d 65 64 | 2e 20 20 57 68 65 6e 20 | assumed|. When | |00001a60| 74 68 65 20 6d 61 63 72 | 6f 20 69 73 20 65 78 70 |the macr|o is exp| |00001a70| 61 6e 64 65 64 2c 20 74 | 68 65 20 23 20 69 73 20 |anded, t|he # is | |00001a80| 70 75 74 20 74 68 65 72 | 65 20 0d 61 75 74 6f 6d |put ther|e .autom| |00001a90| 61 74 69 63 61 6c 6c 79 | 2e 0d 0d 49 66 20 74 68 |atically|...If th| |00001aa0| 65 20 6f 70 65 72 61 6e | 64 20 72 65 70 72 65 73 |e operan|d repres| |00001ab0| 65 6e 74 73 20 61 20 76 | 61 6c 75 65 2c 20 74 68 |ents a v|alue, th| |00001ac0| 65 6e 20 79 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |en you w|ill need| |00001ad0| 20 74 6f 20 70 75 74 20 | 61 20 23 20 6f 72 20 61 | to put |a # or a| |00001ae0| 6e 20 2a 20 69 6e 20 0d | 66 72 6f 6e 74 20 6f 66 |n * in .|front of| |00001af0| 20 74 68 65 20 6f 70 65 | 72 61 6e 64 2e 20 20 49 | the ope|rand. I| |00001b00| 66 20 79 6f 75 20 70 75 | 74 20 61 20 23 20 69 6e |f you pu|t a # in| |00001b10| 20 66 72 6f 6e 74 20 6f | 66 20 74 68 65 20 6f 70 | front o|f the op| |00001b20| 65 72 61 6e 64 2c 20 74 | 68 65 6e 20 69 74 20 69 |erand, t|hen it i| |00001b30| 73 20 61 20 0d 6c 69 74 | 65 72 61 6c 2e 20 20 49 |s a .lit|eral. I| |00001b40| 66 20 79 6f 75 20 70 75 | 74 20 61 6e 20 2a 20 69 |f you pu|t an * i| |00001b50| 6e 20 66 72 6f 6e 74 2c | 20 74 68 65 6e 20 69 74 |n front,| then it| |00001b60| 20 75 73 65 73 20 74 68 | 65 20 76 61 6c 75 65 20 | uses th|e value | |00001b70| 61 74 20 74 68 61 74 20 | 61 64 64 72 65 73 73 2e |at that |address.| |00001b80| 20 20 54 68 69 73 20 0d | 69 73 20 73 69 6d 69 6c | This .|is simil| |00001b90| 61 72 20 74 6f 20 74 68 | 65 20 43 20 75 6e 61 72 |ar to th|e C unar| |00001ba0| 79 20 6f 70 65 72 61 74 | 6f 72 20 2a 2e 0d 0d 54 |y operat|or *...T| |00001bb0| 68 65 73 65 20 6d 61 63 | 72 6f 73 20 61 72 65 20 |hese mac|ros are | |00001bc0| 69 6e 74 65 72 66 61 63 | 65 73 20 66 6f 72 20 74 |interfac|es for t| |00001bd0| 68 65 20 72 75 6e 74 69 | 6d 65 20 72 6f 75 74 69 |he runti|me routi| |00001be0| 6e 65 73 20 61 73 73 6f | 63 69 61 74 65 64 20 77 |nes asso|ciated w| |00001bf0| 69 74 68 20 74 68 65 6d | 2e 20 20 0d 54 68 65 20 |ith them|. .The | |00001c00| 72 75 6e 74 69 6d 65 20 | 72 6f 75 74 69 6e 65 73 |runtime |routines| |00001c10| 20 68 61 6e 64 6c 65 20 | 75 70 20 74 6f 20 31 32 | handle |up to 12| |00001c20| 38 20 69 6e 74 65 67 65 | 72 20 76 61 72 69 61 62 |8 intege|r variab| |00001c30| 6c 65 73 2c 20 61 6e 64 | 20 75 70 20 74 6f 20 32 |les, and| up to 2| |00001c40| 35 36 20 0d 73 74 72 69 | 6e 67 73 2e 20 20 54 68 |56 .stri|ngs. Th| |00001c50| 65 20 72 75 6e 74 69 6d | 65 20 61 6c 73 6f 20 68 |e runtim|e also h| |00001c60| 61 73 20 6d 75 6c 74 69 | 2d 64 69 6d 65 6e 73 69 |as multi|-dimensi| |00001c70| 6f 6e 20 61 72 72 61 79 | 20 73 75 70 70 6f 72 74 |on array| support| |00001c80| 2e 20 20 54 68 65 20 69 | 6e 74 65 67 65 72 20 0d |. The i|nteger .| |00001c90| 66 75 6e 63 74 69 6f 6e | 73 20 61 72 65 20 73 69 |function|s are si| |00001ca0| 6d 70 6c 65 20 61 64 64 | 2c 73 75 62 2c 6d 75 6c |mple add|,sub,mul| |00001cb0| 2c 64 69 76 2c 20 61 6e | 64 20 6f 74 68 65 72 73 |,div, an|d others| |00001cc0| 2e 20 20 54 68 65 73 65 | 20 6f 74 68 65 72 73 20 |. These| others | |00001cd0| 69 6e 63 6c 75 64 65 20 | 0d 6d 61 73 73 2d 69 6e |include |.mass-in| |00001ce0| 69 74 69 61 6c 69 7a 61 | 74 69 6f 6e 2c 20 6d 69 |itializa|tion, mi| |00001cf0| 6e 2c 20 6d 61 78 2c 20 | 20 70 72 69 6e 74 20 64 |n, max, | print d| |00001d00| 65 63 69 6d 61 6c 2c 20 | 65 74 63 2e 20 20 54 68 |ecimal, |etc. Th| |00001d10| 65 20 73 74 72 69 6e 67 | 20 66 75 6e 63 74 69 6f |e string| functio| |00001d20| 6e 73 20 61 72 65 20 0d | 6d 6f 73 74 20 6f 66 20 |ns are .|most of | |00001d30| 77 68 61 74 20 69 73 20 | 61 76 61 69 6c 61 62 6c |what is |availabl| |00001d40| 65 20 69 6e 20 41 70 70 | 6c 65 53 6f 66 74 2c 20 |e in App|leSoft, | |00001d50| 69 6e 20 76 61 72 69 6f | 75 73 20 66 6f 72 6d 73 |in vario|us forms| |00001d60| 2e 20 20 54 68 65 20 61 | 72 72 61 79 20 0d 66 75 |. The a|rray .fu| |00001d70| 6e 63 74 69 6f 6e 73 20 | 61 72 65 20 75 73 65 64 |nctions |are used| |00001d80| 20 74 6f 20 64 65 66 69 | 6e 65 20 61 20 62 61 73 | to defi|ne a bas| |00001d90| 65 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 61 20 72 |e pointe|r to a r| |00001da0| 6f 77 20 6f 66 20 64 74 | 61 20 77 69 74 68 69 6e |ow of dt|a within| |00001db0| 20 74 68 65 20 61 72 72 | 61 79 2c 20 0d 61 6e 64 | the arr|ay, .and| |00001dc0| 20 74 68 65 6e 20 74 6f | 20 69 6e 64 65 78 20 69 | then to| index i| |00001dd0| 6e 74 6f 20 61 6e 64 20 | 6f 75 74 20 6f 66 20 74 |nto and |out of t| |00001de0| 68 61 74 20 72 6f 77 2e | 0d 0d 54 68 65 20 70 72 |hat row.|..The pr| |00001df0| 69 6e 63 69 70 6c 65 20 | 6f 66 20 74 68 65 20 72 |inciple |of the r| |00001e00| 75 6e 74 69 6d 65 20 72 | 6f 75 74 69 6e 65 73 20 |untime r|outines | |00001e10| 69 73 20 74 68 61 74 20 | 74 68 65 20 78 72 65 67 |is that |the xreg| |00001e20| 20 68 6f 6c 64 73 20 61 | 20 64 65 73 74 69 6e 61 | holds a| destina| |00001e30| 74 69 6f 6e 20 0d 76 61 | 72 69 61 62 6c 65 20 6e |tion .va|riable n| |00001e40| 75 6d 62 65 72 20 28 66 | 6f 72 20 69 6e 74 73 3a |umber (f|or ints:| |00001e50| 20 30 2d 32 35 34 2c 20 | 66 6f 72 20 73 74 72 69 | 0-254, |for stri| |00001e60| 6e 67 73 3a 20 30 2d 32 | 35 35 29 2e 20 20 41 6c |ngs: 0-2|55). Al| |00001e70| 6c 20 72 75 6e 74 69 6d | 65 73 20 70 72 65 73 65 |l runtim|es prese| |00001e80| 72 76 65 20 0d 74 68 65 | 20 78 72 65 67 2c 20 74 |rve .the| xreg, t| |00001e90| 68 65 72 65 66 6f 72 65 | 2c 20 79 6f 75 20 63 61 |herefore|, you ca| |00001ea0| 6e 20 64 6f 20 6d 75 6c | 74 69 70 6c 65 20 6f 70 |n do mul|tiple op| |00001eb0| 65 72 61 74 69 6f 6e 73 | 20 74 6f 20 61 20 73 69 |erations| to a si| |00001ec0| 6e 67 6c 65 20 76 61 72 | 69 61 62 6c 65 20 0d 77 |ngle var|iable .w| |00001ed0| 69 74 68 6f 75 74 20 68 | 61 76 69 6e 67 20 74 6f |ithout h|aving to| |00001ee0| 20 72 65 6c 6f 61 64 20 | 74 68 65 20 78 72 65 67 | reload |the xreg| |00001ef0| 2e 20 20 54 68 65 20 76 | 61 6c 75 65 73 20 74 68 |. The v|alues th| |00001f00| 61 74 20 61 72 65 20 75 | 73 65 64 20 6f 6e 20 74 |at are u|sed on t| |00001f10| 68 65 20 78 72 65 67 20 | 0d 76 61 72 69 61 62 6c |he xreg |.variabl| |00001f20| 65 20 28 74 68 65 20 73 | 6f 75 72 63 65 20 64 61 |e (the s|ource da| |00001f30| 74 61 29 2c 20 69 73 20 | 6f 6e 65 20 6f 66 20 33 |ta), is |one of 3| |00001f40| 20 66 6f 72 6d 73 20 66 | 6f 72 20 69 6e 74 65 67 | forms f|or integ| |00001f50| 65 72 73 3a 0d 09 31 2e | 20 31 2d 62 79 74 65 20 |ers:..1.| 1-byte | |00001f60| 76 61 6c 75 65 0d 09 32 | 2e 20 32 2d 62 79 74 65 |value..2|. 2-byte| |00001f70| 20 76 61 6c 75 65 0d 09 | 33 2e 20 32 2d 62 79 74 | value..|3. 2-byt| |00001f80| 65 20 69 6e 74 65 67 65 | 72 20 76 61 72 69 61 62 |e intege|r variab| |00001f90| 6c 65 2e 0d 31 2d 62 79 | 74 65 20 76 61 6c 75 65 |le..1-by|te value| |00001fa0| 73 20 61 72 65 20 70 6c | 61 63 65 64 20 69 6e 20 |s are pl|aced in | |00001fb0| 74 68 65 20 61 63 63 2e | 20 20 32 2d 62 79 74 65 |the acc.| 2-byte| |00001fc0| 20 76 61 6c 75 65 73 20 | 61 72 65 20 70 6c 61 63 | values |are plac| |00001fd0| 65 64 20 69 6e 20 74 68 | 65 20 61 63 63 2c 79 20 |ed in th|e acc,y | |00001fe0| 0d 28 61 63 63 3d 6c 6f | 2c 20 79 3d 68 69 29 2e |.(acc=lo|, y=hi).| |00001ff0| 20 20 32 2d 62 79 74 65 | 20 69 6e 74 65 67 65 72 | 2-byte| integer| |00002000| 20 76 61 72 69 61 62 6c | 65 73 20 68 61 76 65 20 | variabl|es have | |00002010| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 6e 75 6d |the vari|able num| |00002020| 62 65 72 20 70 6c 61 63 | 65 64 20 69 6e 20 0d 74 |ber plac|ed in .t| |00002030| 68 65 20 79 72 65 67 2e | 20 20 28 54 68 65 20 79 |he yreg.| (The y| |00002040| 72 65 67 20 69 73 20 6e | 6f 74 20 70 72 65 73 65 |reg is n|ot prese| |00002050| 72 76 65 64 20 62 79 20 | 74 68 65 20 72 75 6e 74 |rved by |the runt| |00002060| 69 6d 65 20 72 6f 75 74 | 69 6e 65 73 2e 29 20 20 |ime rout|ines.) | |00002070| 4f 6e 63 65 20 74 68 65 | 20 0d 73 6f 75 72 63 65 |Once the| .source| |00002080| 20 64 61 74 61 20 69 73 | 20 6c 6f 61 64 65 64 20 | data is| loaded | |00002090| 28 69 6e 20 61 63 63 2c | 20 61 63 63 2d 79 2c 20 |(in acc,| acc-y, | |000020a0| 6f 72 20 79 29 2c 20 74 | 68 65 20 70 72 6f 70 65 |or y), t|he prope| |000020b0| 72 20 63 61 6c 6c 20 74 | 6f 20 74 68 65 20 72 75 |r call t|o the ru| |000020c0| 6e 74 69 6d 65 20 0d 72 | 6f 75 74 69 6e 65 73 20 |ntime .r|outines | |000020d0| 69 73 20 6d 61 64 65 2e | 20 20 54 68 65 20 27 70 |is made.| The 'p| |000020e0| 72 6f 70 65 72 27 20 72 | 6f 75 74 69 6e 65 20 69 |roper' r|outine i| |000020f0| 73 20 62 61 73 65 64 20 | 6f 6e 20 74 68 65 20 74 |s based |on the t| |00002100| 79 70 65 20 6f 66 20 64 | 61 74 61 20 74 68 65 20 |ype of d|ata the | |00002110| 0d 73 6f 75 72 63 65 20 | 69 73 2e 20 20 28 49 66 |.source |is. (If| |00002120| 20 74 68 65 20 73 6f 75 | 72 63 65 20 69 73 20 61 | the sou|rce is a| |00002130| 20 76 61 72 69 61 62 6c | 65 2c 20 61 6e 64 20 77 | variabl|e, and w| |00002140| 65 20 61 72 65 20 61 64 | 64 69 6e 67 2c 20 74 68 |e are ad|ding, th| |00002150| 65 20 6d 61 63 72 6f 20 | 77 69 6c 6c 20 63 61 6c |e macro |will cal| |00002160| 6c 20 0d 74 68 65 20 61 | 64 64 76 61 72 20 72 6f |l .the a|ddvar ro| |00002170| 75 74 69 6e 65 2e 29 0d | 0d 53 74 72 69 6e 67 73 |utine.).|.Strings| |00002180| 20 61 72 65 20 61 6c 73 | 6f 20 72 65 66 65 72 65 | are als|o refere| |00002190| 6e 63 65 64 20 62 79 20 | 6e 75 6d 62 65 72 2e 20 |nced by |number. | |000021a0| 20 54 68 65 72 65 20 61 | 72 65 20 33 20 74 61 62 | There a|re 3 tab| |000021b0| 6c 65 73 20 66 6f 72 20 | 73 74 72 69 6e 67 73 3a |les for |strings:| |000021c0| 0d 09 31 2e 20 53 74 72 | 69 6e 67 20 6c 65 6e 67 |..1. Str|ing leng| |000021d0| 74 68 20 74 61 62 6c 65 | 2e 0d 09 32 2e 20 4d 61 |th table|...2. Ma| |000021e0| 78 20 73 74 72 69 6e 67 | 20 6c 65 6e 67 74 68 20 |x string| length | |000021f0| 74 61 62 6c 65 2e 0d 09 | 33 2e 20 50 6f 69 6e 74 |table...|3. Point| |00002200| 65 72 20 74 61 62 6c 65 | 2e 0d 53 6f 2c 20 65 61 |er table|..So, ea| |00002210| 63 68 20 73 74 72 69 6e | 67 20 74 61 6b 65 73 20 |ch strin|g takes | |00002220| 75 70 20 66 6f 75 72 20 | 62 79 74 65 73 2c 20 70 |up four |bytes, p| |00002230| 6c 75 73 20 68 6f 77 65 | 76 65 72 20 6c 6f 6e 67 |lus howe|ver long| |00002240| 20 74 68 65 20 6d 61 78 | 20 73 74 72 69 6e 67 20 | the max| string | |00002250| 0d 6c 65 6e 67 74 68 20 | 69 73 2e 20 20 48 61 76 |.length |is. Hav| |00002260| 69 6e 67 20 74 68 65 20 | 70 6f 69 6e 74 65 72 20 |ing the |pointer | |00002270| 61 6c 6c 6f 77 73 20 74 | 68 65 20 70 72 6f 67 72 |allows t|he progr| |00002280| 61 6d 20 74 6f 20 70 6f | 69 6e 74 20 69 6e 74 6f |am to po|int into| |00002290| 20 6d 65 6d 6f 72 79 20 | 74 68 61 74 20 0d 77 61 | memory |that .wa| |000022a0| 73 20 6e 65 76 65 72 20 | 6c 6f 61 64 65 64 20 6f |s never |loaded o| |000022b0| 72 20 69 6e 69 74 69 61 | 6c 69 7a 65 64 2e 20 20 |r initia|lized. | |000022c0| 54 68 69 73 20 63 61 6e | 20 73 61 76 65 20 74 69 |This can| save ti| |000022d0| 6d 65 20 6c 6f 61 64 69 | 6e 67 20 74 68 65 20 61 |me loadi|ng the a| |000022e0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 0d 66 72 6f 6d |pplicati|on .from| |000022f0| 20 64 69 73 6b 2e 20 20 | 54 68 65 20 73 74 72 69 | disk. |The stri| |00002300| 6e 67 20 72 6f 75 74 69 | 6e 65 73 20 77 69 6c 6c |ng routi|nes will| |00002310| 20 6e 65 76 65 72 20 6f | 76 65 72 77 72 69 74 65 | never o|verwrite| |00002320| 20 74 68 65 20 62 75 66 | 66 65 72 20 73 70 61 63 | the buf|fer spac| |00002330| 65 20 0d 61 6c 6c 6f 63 | 61 74 65 64 20 66 6f 72 |e .alloc|ated for| |00002340| 20 74 68 65 6d 2e 20 20 | 54 68 65 20 73 74 72 69 | them. |The stri| |00002350| 6e 67 20 77 69 6c 6c 20 | 62 65 20 74 72 75 6e 63 |ng will |be trunc| |00002360| 61 74 65 64 2e 20 20 53 | 6f 2c 20 79 6f 75 20 63 |ated. S|o, you c| |00002370| 61 6e 20 61 70 70 65 6e | 64 20 0d 73 74 72 69 6e |an appen|d .strin| |00002380| 67 73 20 77 69 74 68 6f | 75 74 20 77 6f 72 72 79 |gs witho|ut worry| |00002390| 20 61 62 6f 75 74 20 63 | 6c 6f 62 62 65 72 69 6e | about c|lobberin| |000023a0| 67 20 6d 65 6d 6f 72 79 | 2e 0d 0d 53 6f 6d 65 20 |g memory|...Some | |000023b0| 63 6f 64 65 20 75 73 69 | 6e 67 20 74 68 65 20 6d |code usi|ng the m| |000023c0| 61 63 72 6f 73 20 61 6e | 64 20 72 75 6e 74 69 6d |acros an|d runtim| |000023d0| 65 20 6d 69 67 68 74 20 | 6c 6f 6f 6b 20 6c 69 6b |e might |look lik| |000023e0| 65 3a 0d 0d 09 09 09 5f | 72 65 73 74 6f 72 65 09 |e:....._|restore.| |000023f0| 74 65 78 74 46 6f 72 42 | 69 6c 6c 09 09 3b 50 6f |textForB|ill..;Po| |00002400| 69 6e 74 20 61 74 20 6c | 69 74 65 72 61 6c 20 74 |int at l|iteral t| |00002410| 65 78 74 2e 0d 09 09 09 | 5f 72 65 61 64 73 74 72 |ext.....|_readstr| |00002420| 09 62 69 6c 6c 53 74 72 | 09 09 09 3b 52 65 61 64 |.billStr|...;Read| |00002430| 20 74 65 78 74 20 69 6e | 74 6f 20 73 74 72 69 6e | text in|to strin| |00002440| 67 2e 0d 09 09 09 5f 70 | 72 73 74 72 09 09 09 09 |g....._p|rstr....| |00002450| 09 09 3b 50 72 69 6e 74 | 20 74 68 65 20 73 74 72 |..;Print| the str| |00002460| 69 6e 67 2e 0d 09 09 09 | 5f 68 65 78 70 61 64 09 |ing.....|_hexpad.| |00002470| 09 23 27 30 27 09 09 09 | 3b 53 65 74 20 68 65 78 |.#'0'...|;Set hex| |00002480| 20 70 61 64 64 69 6e 67 | 20 74 6f 20 61 20 30 2e | padding| to a 0.| |00002490| 0d 09 09 09 5f 72 74 63 | 6f 75 74 09 09 23 27 24 |...._rtc|out..#'$| |000024a0| 27 09 09 09 3b 50 72 69 | 6e 74 20 61 20 24 2e 0d |'...;Pri|nt a $..| |000024b0| 09 09 09 5f 76 61 72 63 | 70 79 09 09 62 69 6c 6c |..._varc|py..bill| |000024c0| 2c 76 61 6c 09 09 3b 53 | 65 74 20 62 69 6c 6c 20 |,val..;S|et bill | |000024d0| 74 6f 20 76 61 6c 2e 0d | 09 09 09 5f 61 64 64 6c |to val..|..._addl| |000024e0| 09 09 2c 23 35 09 09 09 | 09 3b 41 64 64 20 35 20 |..,#5...|.;Add 5 | |000024f0| 74 6f 20 62 69 6c 6c 2e | 0d 09 09 09 5f 6d 75 6c |to bill.|...._mul| |00002500| 76 61 72 09 09 2c 66 61 | 63 74 6f 72 09 09 09 3b |var..,fa|ctor...;| |00002510| 4d 75 6c 74 69 70 6c 79 | 20 62 69 6c 6c 20 62 79 |Multiply| bill by| |00002520| 20 66 61 63 74 6f 72 2e | 0d 09 09 09 5f 76 68 65 | factor.|...._vhe| |00002530| 78 6f 75 74 09 09 09 09 | 09 3b 50 72 69 6e 74 20 |xout....|.;Print | |00002540| 62 69 6c 6c 20 69 6e 20 | 68 65 78 2e 0d 09 09 09 |bill in |hex.....| |00002550| 72 74 73 0d 74 65 78 74 | 46 6f 72 42 69 6c 6c 09 |rts.text|ForBill.| |00002560| 64 63 2e 62 09 27 42 69 | 6c 6c 27 27 73 20 76 61 |dc.b.'Bi|ll''s va| |00002570| 6c 75 65 20 69 6e 20 68 | 65 78 20 69 73 3a 20 20 |lue in h|ex is: | |00002580| 27 2c 30 0d 0d 57 65 20 | 63 6f 75 6c 64 20 72 65 |',0..We |could re| |00002590| 70 6c 61 63 65 20 74 68 | 65 20 5f 72 65 73 74 6f |place th|e _resto| |000025a0| 72 65 2c 20 5f 72 65 61 | 64 73 74 72 2c 20 5f 70 |re, _rea|dstr, _p| |000025b0| 72 73 74 72 2c 20 77 69 | 74 68 3a 20 0d 74 65 78 |rstr, wi|th: .tex| |000025c0| 74 46 6f 72 42 69 6c 6c | 09 5f 77 72 69 74 65 09 |tForBill|._write.| |000025d0| 27 42 69 6c 6c 27 27 73 | 20 76 61 6c 75 65 20 69 |'Bill''s| value i| |000025e0| 6e 20 68 65 78 20 69 73 | 3a 20 20 27 2c 30 0d 0d |n hex is|: ',0..| |000025f0| 57 65 20 63 6f 75 6c 64 | 20 73 74 69 6c 6c 20 72 |We could| still r| |00002600| 65 61 64 20 74 68 65 20 | 74 65 78 74 20 69 6e 20 |ead the |text in | |00002610| 74 68 65 20 5f 77 72 69 | 74 65 20 6d 61 63 72 6f |the _wri|te macro| |00002620| 20 66 72 6f 6d 20 65 6c | 73 65 77 68 65 72 65 20 | from el|sewhere | |00002630| 62 79 3a 0d 09 09 09 5f | 72 65 73 74 6f 72 65 09 |by:...._|restore.| |00002640| 74 65 78 74 46 6f 72 42 | 69 6c 6c 2b 33 09 3b 50 |textForB|ill+3.;P| |00002650| 6f 69 6e 74 20 61 74 20 | 6c 69 74 65 72 61 6c 20 |oint at |literal | |00002660| 74 65 78 74 2e 0d 09 09 | 09 5f 72 65 61 64 73 74 |text....|._readst| |00002670| 72 09 62 69 6c 6c 53 74 | 72 09 09 09 3b 52 65 61 |r.billSt|r...;Rea| |00002680| 64 20 74 65 78 74 20 69 | 6e 74 6f 20 73 74 72 69 |d text i|nto stri| |00002690| 6e 67 2e 0d 0d 54 68 65 | 20 2b 33 20 73 6b 69 70 |ng...The| +3 skip| |000026a0| 73 20 74 68 65 20 6a 73 | 72 20 74 6f 20 74 68 65 |s the js|r to the| |000026b0| 20 77 72 69 74 65 20 72 | 6f 75 74 69 6e 65 20 28 | write r|outine (| |000026c0| 67 65 6e 65 72 61 74 65 | 64 20 62 79 20 5f 77 72 |generate|d by _wr| |000026d0| 69 74 65 29 2e 20 20 42 | 6f 74 68 20 74 68 65 20 |ite). B|oth the | |000026e0| 0d 5f 77 72 69 74 65 20 | 61 6e 64 20 5f 72 65 61 |._write |and _rea| |000026f0| 64 73 74 72 20 72 6f 75 | 74 69 6e 65 73 20 73 74 |dstr rou|tines st| |00002700| 6f 70 20 61 74 20 61 20 | 30 2e 20 20 28 54 68 65 |op at a |0. (The| |00002710| 20 5f 72 65 61 64 73 74 | 72 20 65 6e 64 69 6e 67 | _readst|r ending| |00002720| 20 0d 63 68 61 72 61 63 | 74 65 72 20 63 61 6e 20 | .charac|ter can | |00002730| 62 65 20 63 68 61 6e 67 | 65 64 20 74 6f 20 77 68 |be chang|ed to wh| |00002740| 61 74 65 76 65 72 20 79 | 6f 75 20 77 61 6e 74 20 |atever y|ou want | |00002750| 77 69 74 68 20 74 68 65 | 20 5f 72 65 61 64 65 6e |with the| _readen| |00002760| 64 20 6d 61 63 72 6f 2c | 20 0d 62 75 74 20 74 68 |d macro,| .but th| |00002770| 65 20 64 65 66 61 75 6c | 74 20 73 74 6f 70 20 63 |e defaul|t stop c| |00002780| 68 61 72 61 63 74 65 72 | 20 69 73 20 61 20 30 2e |haracter| is a 0.| |00002790| 29 0d 0d 0d 42 65 6c 6f | 77 20 69 73 20 61 20 6c |)...Belo|w is a l| |000027a0| 69 73 74 20 6f 66 20 74 | 68 65 20 6d 61 63 72 6f |ist of t|he macro| |000027b0| 73 2c 20 61 6e 64 20 68 | 6f 77 20 74 68 65 79 20 |s, and h|ow they | |000027c0| 61 72 65 20 75 73 65 64 | 3a 0d 0d 0d 09 5f 72 74 |are used|:...._rt| |000027d0| 72 65 73 65 74 0d 54 68 | 69 73 20 6d 61 63 72 6f |reset.Th|is macro| |000027e0| 20 69 6e 69 74 69 61 6c | 69 7a 65 73 20 65 76 65 | initial|izes eve| |000027f0| 72 79 74 68 69 6e 67 20 | 6e 65 63 65 73 73 61 72 |rything |necessar| |00002800| 79 20 69 6e 20 74 68 65 | 20 72 75 6e 74 69 6d 65 |y in the| runtime| |00002810| 2e 20 20 54 68 69 73 20 | 61 6c 6c 6f 77 73 20 61 |. This |allows a| |00002820| 20 0d 72 65 73 75 6d 65 | 20 61 66 74 65 72 20 74 | .resume| after t| |00002830| 68 65 20 75 73 65 72 20 | 70 72 65 73 73 65 73 20 |he user |presses | |00002840| 61 20 72 65 73 65 74 2e | 09 0d 0d 0d 09 5f 68 69 |a reset.|....._hi| |00002850| 62 69 74 63 68 72 73 0d | 54 68 69 73 20 6d 61 63 |bitchrs.|This mac| |00002860| 72 6f 20 69 73 20 75 73 | 65 64 20 74 6f 20 74 75 |ro is us|ed to tu| |00002870| 72 6e 20 6f 6e 20 74 68 | 65 20 68 69 2d 62 69 74 |rn on th|e hi-bit| |00002880| 20 66 6f 72 20 63 68 61 | 72 61 63 74 65 72 73 20 | for cha|racters | |00002890| 74 68 61 74 20 61 72 65 | 20 73 65 6e 74 20 74 6f |that are| sent to| |000028a0| 20 72 74 63 6f 75 74 2e | 0d 0d 0d 09 5f 6c 6f 77 | rtcout.|...._low| |000028b0| 62 69 74 63 68 72 73 0d | 54 68 69 73 20 6d 61 63 |bitchrs.|This mac| |000028c0| 72 6f 20 69 73 20 75 73 | 65 64 20 74 6f 20 74 75 |ro is us|ed to tu| |000028d0| 72 6e 20 6f 66 66 20 74 | 68 65 20 68 69 2d 62 69 |rn off t|he hi-bi| |000028e0| 74 20 66 6f 72 20 63 68 | 61 72 61 63 74 65 72 73 |t for ch|aracters| |000028f0| 20 74 68 61 74 20 61 72 | 65 20 73 65 6e 74 20 74 | that ar|e sent t| |00002900| 6f 20 72 74 63 6f 75 74 | 2e 0d 0d 0d 09 5f 72 65 |o rtcout|....._re| |00002910| 67 63 68 72 73 0d 54 68 | 69 73 20 6d 61 63 72 6f |gchrs.Th|is macro| |00002920| 20 69 73 20 75 73 65 64 | 20 74 6f 20 6d 61 6b 65 | is used| to make| |00002930| 20 73 75 72 65 20 74 68 | 61 74 20 63 68 61 72 61 | sure th|at chara| |00002940| 63 74 65 72 73 20 73 65 | 6e 74 20 74 6f 20 72 74 |cters se|nt to rt| |00002950| 63 6f 75 74 20 61 72 65 | 20 75 73 65 64 20 61 73 |cout are| used as| |00002960| 2d 69 73 2e 20 20 0d 54 | 68 65 72 65 20 77 69 6c |-is. .T|here wil| |00002970| 6c 20 62 65 20 6e 6f 20 | 6d 6f 64 69 66 69 63 61 |l be no |modifica| |00002980| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 68 69 2d 62 |tion of |the hi-b| |00002990| 69 74 2e 0d 0d 0d 09 5f | 77 72 69 74 65 09 26 6f |it....._|write.&o| |000029a0| 70 31 2c 26 6f 70 32 2c | 26 6f 70 33 2c 2e 2e 2e |p1,&op2,|&op3,...| |000029b0| 0d 54 68 69 73 20 6d 61 | 63 72 6f 20 70 72 69 6e |.This ma|cro prin| |000029c0| 74 73 20 61 20 63 73 74 | 72 69 6e 67 2e 20 20 59 |ts a cst|ring. Y| |000029d0| 6f 75 20 63 61 6e 20 75 | 73 65 20 61 73 20 6d 61 |ou can u|se as ma| |000029e0| 6e 79 20 6f 70 65 72 61 | 6e 64 73 20 61 73 20 4d |ny opera|nds as M| |000029f0| 50 57 20 0d 61 6c 6c 6f | 77 73 2e 20 20 59 6f 75 |PW .allo|ws. You| |00002a00| 20 63 61 6e 20 63 6f 6e | 74 69 6e 75 65 20 6f 6e | can con|tinue on| |00002a10| 74 6f 20 74 68 65 20 6e | 65 78 74 20 6c 69 6e 65 |to the n|ext line| |00002a20| 20 77 69 74 68 20 74 68 | 65 20 6c 69 6e 65 20 63 | with th|e line c| |00002a30| 6f 6e 74 69 6e 75 61 74 | 69 6f 6e 20 0d 63 68 61 |ontinuat|ion .cha| |00002a40| 72 61 63 74 65 72 20 5c | 2e 20 20 41 66 74 65 72 |racter \|. After| |00002a50| 20 61 6c 6c 20 74 68 65 | 20 6f 70 65 72 61 6e 64 | all the| operand| |00002a60| 73 20 61 72 65 20 70 72 | 6f 63 65 73 73 65 64 2c |s are pr|ocessed,| |00002a70| 20 74 68 65 20 6d 61 63 | 72 6f 20 70 6c 61 63 65 | the mac|ro place| |00002a80| 73 20 61 20 63 73 74 72 | 69 6e 67 20 0d 30 20 74 |s a cstr|ing .0 t| |00002a90| 65 72 6d 69 6e 61 74 6f | 72 20 63 68 61 72 61 63 |erminato|r charac| |00002aa0| 74 65 72 20 61 74 20 74 | 68 65 20 65 6e 64 20 6f |ter at t|he end o| |00002ab0| 66 20 74 68 65 20 73 74 | 72 69 6e 67 2e 20 20 54 |f the st|ring. T| |00002ac0| 68 69 73 20 69 73 20 64 | 6f 6e 65 20 61 75 74 6f |his is d|one auto| |00002ad0| 6d 61 74 69 63 61 6c 6c | 79 2e 20 20 0d 50 6c 61 |maticall|y. .Pla| |00002ae0| 63 69 6e 67 20 6f 6e 65 | 20 74 68 65 72 65 20 79 |cing one| there y| |00002af0| 6f 75 72 73 65 6c 66 20 | 77 69 6c 6c 20 64 65 66 |ourself |will def| |00002b00| 69 6e 65 20 61 6e 20 65 | 78 74 72 61 20 6f 6e 65 |ine an e|xtra one| |00002b10| 2c 20 77 68 69 63 68 20 | 77 69 6c 6c 20 65 6e 64 |, which |will end| |00002b20| 20 75 70 20 62 65 69 6e | 67 20 0d 61 20 42 52 4b | up bein|g .a BRK| |00002b30| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 20 69 6e 20 | instruc|tion in | |00002b40| 79 6f 75 72 20 63 6f 64 | 65 2e 0d 0d 0d 09 5f 77 |your cod|e....._w| |00002b50| 72 69 74 65 63 72 0d 54 | 68 69 73 20 6d 61 63 72 |ritecr.T|his macr| |00002b60| 6f 20 70 72 69 6e 74 73 | 20 61 20 63 61 72 72 69 |o prints| a carri| |00002b70| 61 67 65 20 72 65 74 75 | 72 6e 2e 0d 0d 0d 09 5f |age retu|rn....._| |00002b80| 77 72 63 73 74 72 09 6f | 70 0d 54 68 69 73 20 6d |wrcstr.o|p.This m| |00002b90| 61 63 72 6f 20 70 72 69 | 6e 74 73 20 61 20 63 20 |acro pri|nts a c | |00002ba0| 73 74 72 69 6e 67 20 70 | 6f 69 6e 74 65 64 20 74 |string p|ointed t| |00002bb0| 6f 20 62 79 20 74 68 65 | 20 6f 70 65 72 61 6e 64 |o by the| operand| |00002bc0| 2e 0d 0d 0d 09 5f 72 74 | 63 6f 75 74 09 6f 70 0d |....._rt|cout.op.| |00002bd0| 54 68 69 73 20 6d 61 63 | 72 6f 20 70 72 69 6e 74 |This mac|ro print| |00002be0| 73 20 61 20 63 68 61 72 | 61 63 74 65 72 2e 20 20 |s a char|acter. | |00002bf0| 54 68 69 73 20 63 68 61 | 72 61 63 74 65 72 20 69 |This cha|racter i| |00002c00| 73 20 65 69 74 68 65 72 | 20 61 6c 72 65 61 64 79 |s either| already| |00002c10| 20 69 6e 20 74 68 65 20 | 61 63 63 20 28 6e 6f 20 | in the |acc (no | |00002c20| 0d 6f 70 65 72 61 6e 64 | 29 2c 20 6f 72 20 77 68 |.operand|), or wh| |00002c30| 61 74 20 69 73 20 64 65 | 73 63 72 69 62 65 64 20 |at is de|scribed | |00002c40| 62 79 20 74 68 65 20 6f | 70 65 72 61 6e 64 2e 20 |by the o|perand. | |00002c50| 20 54 68 65 20 6f 70 65 | 72 61 6e 64 20 63 61 6e | The ope|rand can| |00002c60| 20 65 69 74 68 65 72 20 | 62 65 20 0d 61 6e 20 61 | either |be .an a| |00002c70| 62 73 6f 6c 75 74 65 20 | 6f 72 20 61 20 76 61 6c |bsolute |or a val| |00002c80| 75 65 20 69 6e 20 6d 65 | 6d 6f 72 79 2e 0d 0d 0d |ue in me|mory....| |00002c90| 09 5f 73 69 67 6e 65 64 | 0d 54 68 69 73 20 6d 61 |._signed|.This ma| |00002ca0| 63 72 6f 20 73 65 74 73 | 20 73 69 67 6e 65 64 20 |cro sets| signed | |00002cb0| 6d 6f 64 65 2e 20 20 50 | 72 69 6e 74 69 6e 67 20 |mode. P|rinting | |00002cc0| 64 65 63 69 6d 61 6c 20 | 6e 75 6d 62 65 72 73 20 |decimal |numbers | |00002cd0| 69 73 20 61 66 66 65 63 | 74 65 64 20 62 79 20 74 |is affec|ted by t| |00002ce0| 68 69 73 2e 0d 0d 0d 09 | 5f 75 6e 73 69 67 6e 65 |his.....|_unsigne| |00002cf0| 64 0d 54 68 69 73 20 6d | 61 63 72 6f 20 73 65 74 |d.This m|acro set| |00002d00| 73 20 75 6e 73 69 67 6e | 65 64 20 6d 6f 64 65 2e |s unsign|ed mode.| |00002d10| 20 20 50 72 69 6e 74 69 | 6e 67 20 64 65 63 69 6d | Printi|ng decim| |00002d20| 61 6c 20 6e 75 6d 62 65 | 72 73 20 69 73 20 61 66 |al numbe|rs is af| |00002d30| 66 65 63 74 65 64 20 62 | 79 20 0d 74 68 69 73 2e |fected b|y .this.| |00002d40| 0d 0d 0d 09 5f 63 68 6e | 67 73 67 6e 0d 54 68 69 |...._chn|gsgn.Thi| |00002d50| 73 20 6d 61 63 72 6f 20 | 64 6f 65 73 20 61 20 74 |s macro |does a t| |00002d60| 77 6f 27 73 20 63 6f 6d | 70 6c 69 6d 65 6e 74 20 |wo's com|pliment | |00002d70| 6f 6e 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 2e |on the v|ariable.| |00002d80| 0d 0d 0d 09 5f 64 65 63 | 6f 75 74 6c 09 6f 70 0d |...._dec|outl.op.| |00002d90| 54 68 69 73 20 6d 61 63 | 72 6f 20 70 72 69 6e 74 |This mac|ro print| |00002da0| 73 20 61 20 31 2d 62 79 | 74 65 20 64 65 63 69 6d |s a 1-by|te decim| |00002db0| 61 6c 20 76 61 6c 75 65 | 2e 20 20 54 68 69 73 20 |al value|. This | |00002dc0| 76 61 6c 75 65 20 69 73 | 20 65 69 74 68 65 72 20 |value is| either | |00002dd0| 61 6c 72 65 61 64 79 20 | 69 6e 20 74 68 65 20 0d |already |in the .| |00002de0| 61 63 63 20 28 6e 6f 20 | 6f 70 65 72 61 6e 64 29 |acc (no |operand)| |00002df0| 2c 20 6f 72 20 77 68 61 | 74 20 69 73 20 64 65 73 |, or wha|t is des| |00002e00| 63 72 69 62 65 64 20 62 | 79 20 74 68 65 20 6f 70 |cribed b|y the op| |00002e10| 65 72 61 6e 64 2e 20 20 | 54 68 65 20 6f 70 65 72 |erand. |The oper| |00002e20| 61 6e 64 20 63 61 6e 20 | 0d 65 69 74 68 65 72 20 |and can |.either | |00002e30| 62 65 20 61 6e 20 61 62 | 73 6f 6c 75 74 65 20 6f |be an ab|solute o| |00002e40| 72 20 61 20 76 61 6c 75 | 65 20 69 6e 20 6d 65 6d |r a valu|e in mem| |00002e50| 6f 72 79 2e 0d 0d 0d 09 | 5f 76 64 65 63 6f 75 74 |ory.....|_vdecout| |00002e60| 09 6f 70 0d 54 68 69 73 | 20 6d 61 63 72 6f 20 70 |.op.This| macro p| |00002e70| 72 69 6e 74 73 20 61 20 | 32 2d 62 79 74 65 20 64 |rints a |2-byte d| |00002e80| 65 63 69 6d 61 6c 20 76 | 61 6c 75 65 2e 20 20 54 |ecimal v|alue. T| |00002e90| 68 69 73 20 76 61 6c 75 | 65 20 69 73 20 73 74 6f |his valu|e is sto| |00002ea0| 72 65 64 20 69 6e 20 61 | 20 76 61 72 69 61 62 6c |red in a| variabl| |00002eb0| 65 2e 20 20 0d 54 68 65 | 20 76 61 72 69 61 62 6c |e. .The| variabl| |00002ec0| 65 20 6e 75 6d 62 65 72 | 20 69 73 20 65 69 74 68 |e number| is eith| |00002ed0| 65 72 20 61 6c 72 65 61 | 64 79 20 69 6e 20 74 68 |er alrea|dy in th| |00002ee0| 65 20 78 72 65 67 20 28 | 6e 6f 20 6f 70 65 72 61 |e xreg (|no opera| |00002ef0| 6e 64 29 2c 20 6f 72 20 | 69 73 20 0d 64 65 74 65 |nd), or |is .dete| |00002f00| 72 6d 69 6e 65 64 20 62 | 79 20 74 68 65 20 6f 70 |rmined b|y the op| |00002f10| 65 72 61 6e 64 2e 0d 0d | 0d 09 5f 64 65 63 6f 75 |erand...|.._decou| |00002f20| 74 09 6f 70 0d 54 68 69 | 73 20 6d 61 63 72 6f 20 |t.op.Thi|s macro | |00002f30| 70 72 69 6e 74 73 20 61 | 20 32 2d 62 79 74 65 20 |prints a| 2-byte | |00002f40| 64 65 63 69 6d 61 6c 20 | 76 61 6c 75 65 2e 20 20 |decimal |value. | |00002f50| 54 68 69 73 20 76 61 6c | 75 65 20 69 73 20 65 69 |This val|ue is ei| |00002f60| 74 68 65 72 20 61 6c 72 | 65 61 64 79 20 69 6e 20 |ther alr|eady in | |00002f70| 74 68 65 20 0d 61 63 63 | 2c 79 20 28 6e 6f 20 6f |the .acc|,y (no o| |00002f80| 70 65 72 61 6e 64 29 2c | 20 6f 72 20 77 68 61 74 |perand),| or what| |00002f90| 20 69 73 20 64 65 73 63 | 72 69 62 65 64 20 62 79 | is desc|ribed by| |00002fa0| 20 74 68 65 20 6f 70 65 | 72 61 6e 64 2e 20 20 54 | the ope|rand. T| |00002fb0| 68 65 20 6f 70 65 72 61 | 6e 64 20 63 61 6e 20 0d |he opera|nd can .| |00002fc0| 65 69 74 68 65 72 20 62 | 65 20 61 6e 20 61 62 73 |either b|e an abs| |00002fd0| 6f 6c 75 74 65 20 6f 72 | 20 61 20 76 61 6c 75 65 |olute or| a value| |00002fe0| 20 69 6e 20 6d 65 6d 6f | 72 79 2e 0d 0d 0d 09 5f | in memo|ry....._| |00002ff0| 68 65 78 70 61 64 09 6f | 70 0d 54 68 69 73 20 6d |hexpad.o|p.This m| |00003000| 61 63 72 6f 20 73 65 74 | 73 20 70 61 64 20 6d 6f |acro set|s pad mo| |00003010| 64 65 20 66 6f 72 20 68 | 65 78 2e 20 20 54 68 65 |de for h|ex. The| |00003020| 20 76 61 6c 75 65 20 69 | 73 20 65 69 74 68 65 72 | value i|s either| |00003030| 20 61 6c 72 65 61 64 79 | 20 69 6e 20 74 68 65 20 | already| in the | |00003040| 61 63 63 20 28 6e 6f 20 | 0d 6f 70 65 72 61 6e 64 |acc (no |.operand| |00003050| 29 2c 20 6f 72 20 77 68 | 61 74 20 69 73 20 64 65 |), or wh|at is de| |00003060| 73 63 72 69 62 65 64 20 | 62 79 20 74 68 65 20 6f |scribed |by the o| |00003070| 70 65 72 61 6e 64 2e 20 | 20 54 68 65 20 6f 70 65 |perand. | The ope| |00003080| 72 61 6e 64 20 63 61 6e | 20 65 69 74 68 65 72 20 |rand can| either | |00003090| 62 65 20 0d 61 6e 20 61 | 62 73 6f 6c 75 74 65 20 |be .an a|bsolute | |000030a0| 6f 72 20 61 20 76 61 6c | 75 65 20 69 6e 20 6d 65 |or a val|ue in me| |000030b0| 6d 6f 72 79 2e 20 20 50 | 72 69 6e 74 69 6e 67 20 |mory. P|rinting | |000030c0| 68 65 78 20 6e 75 6d 62 | 65 72 73 20 69 73 20 61 |hex numb|ers is a| |000030d0| 66 66 65 63 74 65 64 20 | 62 79 20 74 68 69 73 2e |ffected |by this.| |000030e0| 0d 0d 0d 09 5f 68 65 78 | 6e 6f 70 61 64 0d 54 68 |...._hex|nopad.Th| |000030f0| 69 73 20 6d 61 63 72 6f | 20 73 65 74 73 20 6e 6f |is macro| sets no| |00003100| 20 70 61 64 20 6d 6f 64 | 65 20 66 6f 72 20 68 65 | pad mod|e for he| |00003110| 78 2e 20 20 50 72 69 6e | 74 69 6e 67 20 68 65 78 |x. Prin|ting hex| |00003120| 20 6e 75 6d 62 65 72 73 | 20 69 73 20 61 66 66 65 | numbers| is affe| |00003130| 63 74 65 64 20 62 79 20 | 0d 74 68 69 73 2e 0d 0d |cted by |.this...| |00003140| 0d 09 5f 68 65 78 6f 75 | 74 6c 09 6f 70 0d 54 68 |.._hexou|tl.op.Th| |00003150| 69 73 20 6d 61 63 72 6f | 20 70 72 69 6e 74 73 20 |is macro| prints | |00003160| 61 20 31 2d 62 79 74 65 | 20 68 65 78 20 76 61 6c |a 1-byte| hex val| |00003170| 75 65 2e 20 20 54 68 69 | 73 20 76 61 6c 75 65 20 |ue. Thi|s value | |00003180| 69 73 20 65 69 74 68 65 | 72 20 61 6c 72 65 61 64 |is eithe|r alread| |00003190| 79 20 69 6e 20 74 68 65 | 20 61 63 63 20 0d 28 6e |y in the| acc .(n| |000031a0| 6f 20 6f 70 65 72 61 6e | 64 29 2c 20 6f 72 20 77 |o operan|d), or w| |000031b0| 68 61 74 20 69 73 20 64 | 65 73 63 72 69 62 65 64 |hat is d|escribed| |000031c0| 20 62 79 20 74 68 65 20 | 6f 70 65 72 61 6e 64 2e | by the |operand.| |000031d0| 20 20 54 68 65 20 6f 70 | 65 72 61 6e 64 20 63 61 | The op|erand ca| |000031e0| 6e 20 65 69 74 68 65 72 | 20 0d 62 65 20 61 6e 20 |n either| .be an | |000031f0| 61 62 73 6f 6c 75 74 65 | 20 6f 72 20 61 20 76 61 |absolute| or a va| |00003200| 6c 75 65 20 69 6e 20 6d | 65 6d 6f 72 79 2e 20 20 |lue in m|emory. | |00003210| 53 69 6e 63 65 20 69 74 | 20 69 73 20 6f 6e 6c 79 |Since it| is only| |00003220| 20 70 72 69 6e 74 69 6e | 67 20 61 20 31 2d 62 79 | printin|g a 1-by| |00003230| 74 65 20 0d 76 61 6c 75 | 65 2c 20 74 68 65 20 6d |te .valu|e, the m| |00003240| 61 78 69 6d 75 6d 20 61 | 6d 6f 75 6e 74 20 6f 66 |aximum a|mount of| |00003250| 20 70 61 64 64 69 6e 67 | 20 69 73 20 6f 6e 65 20 | padding| is one | |00003260| 63 68 61 72 61 63 74 65 | 72 2e 0d 0d 0d 09 5f 76 |characte|r....._v| |00003270| 68 65 78 6f 75 74 09 6f | 70 0d 54 68 69 73 20 6d |hexout.o|p.This m| |00003280| 61 63 72 6f 20 70 72 69 | 6e 74 73 20 61 20 32 2d |acro pri|nts a 2-| |00003290| 62 79 74 65 20 68 65 78 | 20 76 61 6c 75 65 2e 20 |byte hex| value. | |000032a0| 20 54 68 69 73 20 76 61 | 6c 75 65 20 69 73 20 73 | This va|lue is s| |000032b0| 74 6f 72 65 64 20 69 6e | 20 61 20 76 61 72 69 61 |tored in| a varia| |000032c0| 62 6c 65 2e 20 20 0d 54 | 68 65 20 76 61 72 69 61 |ble. .T|he varia| |000032d0| 62 6c 65 20 6e 75 6d 62 | 65 72 20 69 73 20 65 69 |ble numb|er is ei| |000032e0| 74 68 65 72 20 61 6c 72 | 65 61 64 79 20 69 6e 20 |ther alr|eady in | |000032f0| 74 68 65 20 78 72 65 67 | 20 28 6e 6f 20 6f 70 65 |the xreg| (no ope| |00003300| 72 61 6e 64 29 2c 20 6f | 72 20 69 73 20 0d 64 65 |rand), o|r is .de| |00003310| 74 65 72 6d 69 6e 65 64 | 20 62 79 20 74 68 65 20 |termined| by the | |00003320| 6f 70 65 72 61 6e 64 2e | 20 20 54 68 65 20 6d 61 |operand.| The ma| |00003330| 78 69 6d 75 6d 20 61 6d | 6f 75 6e 74 20 6f 66 20 |ximum am|ount of | |00003340| 70 61 64 64 69 6e 67 20 | 69 73 20 74 68 72 65 65 |padding |is three| |00003350| 20 0d 63 68 61 72 61 63 | 74 65 72 73 2e 0d 0d 0d | .charac|ters....| |00003360| 09 5f 68 65 78 6f 75 74 | 09 6f 70 0d 54 68 69 73 |._hexout|.op.This| |00003370| 20 6d 61 63 72 6f 20 70 | 72 69 6e 74 73 20 61 20 | macro p|rints a | |00003380| 32 2d 62 79 74 65 20 68 | 65 78 20 76 61 6c 75 65 |2-byte h|ex value| |00003390| 2e 20 20 54 68 69 73 20 | 76 61 6c 75 65 20 69 73 |. This |value is| |000033a0| 20 65 69 74 68 65 72 20 | 61 6c 72 65 61 64 79 20 | either |already | |000033b0| 69 6e 20 74 68 65 20 0d | 61 63 63 2c 79 20 28 6e |in the .|acc,y (n| |000033c0| 6f 20 6f 70 65 72 61 6e | 64 29 2c 20 6f 72 20 77 |o operan|d), or w| |000033d0| 68 61 74 20 69 73 20 64 | 65 73 63 72 69 62 65 64 |hat is d|escribed| |000033e0| 20 62 79 20 74 68 65 20 | 6f 70 65 72 61 6e 64 2e | by the |operand.| |000033f0| 20 20 54 68 65 20 6f 70 | 65 72 61 6e 64 20 63 61 | The op|erand ca| |00003400| 6e 20 0d 65 69 74 68 65 | 72 20 62 65 20 61 6e 20 |n .eithe|r be an | |00003410| 61 62 73 6f 6c 75 74 65 | 20 6f 72 20 61 20 76 61 |absolute| or a va| |00003420| 6c 75 65 20 69 6e 20 6d | 65 6d 6f 72 79 2e 20 20 |lue in m|emory. | |00003430| 54 68 65 20 6d 61 78 69 | 6d 75 6d 20 61 6d 6f 75 |The maxi|mum amou| |00003440| 6e 74 20 6f 66 20 0d 70 | 61 64 64 69 6e 67 20 69 |nt of .p|adding i| |00003450| 73 20 74 68 72 65 65 20 | 63 68 61 72 61 63 74 65 |s three |characte| |00003460| 72 73 2e 0d 0d 0d 09 5f | 61 64 64 76 61 72 09 6f |rs....._|addvar.o| |00003470| 70 31 2c 6f 70 32 0d 54 | 68 69 73 20 6d 61 63 72 |p1,op2.T|his macr| |00003480| 6f 20 61 64 64 73 20 61 | 20 76 61 72 69 61 62 6c |o adds a| variabl| |00003490| 65 20 74 6f 20 74 68 65 | 20 64 65 73 74 69 6e 61 |e to the| destina| |000034a0| 74 69 6f 6e 20 76 61 72 | 69 61 62 6c 65 2e 20 20 |tion var|iable. | |000034b0| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6f |If there| is no o| |000034c0| 70 31 2c 20 0d 74 68 65 | 6e 20 74 68 65 20 64 65 |p1, .the|n the de| |000034d0| 73 74 69 6e 61 74 69 6f | 6e 20 76 61 72 69 61 62 |stinatio|n variab| |000034e0| 6c 65 20 6e 75 6d 62 65 | 72 20 69 73 20 61 73 73 |le numbe|r is ass| |000034f0| 75 6d 65 64 20 74 6f 20 | 62 65 20 69 6e 20 74 68 |umed to |be in th| |00003500| 65 20 78 72 65 67 2e 20 | 20 49 66 20 74 68 65 72 |e xreg. | If ther| |00003510| 65 20 69 73 20 0d 6e 6f | 20 6f 70 32 2c 20 74 68 |e is .no| op2, th| |00003520| 65 6e 20 74 68 65 20 73 | 6f 75 72 63 65 20 76 61 |en the s|ource va| |00003530| 72 69 61 62 6c 65 20 6e | 75 6d 62 65 72 20 69 73 |riable n|umber is| |00003540| 20 61 73 73 75 6d 65 64 | 20 74 6f 20 62 65 20 69 | assumed| to be i| |00003550| 6e 20 74 68 65 20 79 72 | 65 67 2e 0d 0d 0d 09 5f |n the yr|eg....._| |00003560| 61 64 64 6c 09 6f 70 31 | 2c 6f 70 32 0d 54 68 69 |addl.op1|,op2.Thi| |00003570| 73 20 6d 61 63 72 6f 20 | 61 64 64 73 20 61 20 31 |s macro |adds a 1| |00003580| 2d 62 79 74 65 20 76 61 | 6c 75 65 20 74 6f 20 74 |-byte va|lue to t| |00003590| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 76 |he desti|nation v| |000035a0| 61 72 69 61 62 6c 65 2e | 20 20 49 66 20 74 68 65 |ariable.| If the| |000035b0| 72 65 20 69 73 20 6e 6f | 20 0d 6f 70 31 2c 20 74 |re is no| .op1, t| |000035c0| 68 65 6e 20 74 68 65 20 | 64 65 73 74 69 6e 61 74 |hen the |destinat| |000035d0| 69 6f 6e 20 76 61 72 69 | 61 62 6c 65 20 6e 75 6d |ion vari|able num| |000035e0| 62 65 72 20 69 73 20 61 | 73 73 75 6d 65 64 20 74 |ber is a|ssumed t| |000035f0| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 78 72 65 67 |o be in |the xreg| |00003600| 2e 20 20 49 66 20 0d 74 | 68 65 72 65 20 69 73 20 |. If .t|here is | |00003610| 6e 6f 20 6f 70 32 2c 20 | 74 68 65 6e 20 74 68 65 |no op2, |then the| |00003620| 20 76 61 6c 75 65 20 69 | 73 20 61 73 73 75 6d 65 | value i|s assume| |00003630| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 61 |d to be |in the a| |00003640| 63 63 2e 0d 0d 0d 09 5f | 61 64 64 09 09 6f 70 31 |cc....._|add..op1| |00003650| 2c 6f 70 32 0d 54 68 69 | 73 20 6d 61 63 72 6f 20 |,op2.Thi|s macro | |00003660| 61 64 64 73 20 61 20 32 | 2d 62 79 74 65 20 76 61 |adds a 2|-byte va| |00003670| 6c 75 65 20 74 6f 20 74 | 68 65 20 64 65 73 74 69 |lue to t|he desti| |00003680| 6e 61 74 69 6f 6e 20 76 | 61 72 69 61 62 6c 65 2e |nation v|ariable.| |00003690| 20 20 49 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f | If the|re is no| |000036a0| 20 0d 6f 70 31 2c 20 74 | 68 65 6e 20 74 68 65 20 | .op1, t|hen the | |000036b0| 64 65 73 74 69 6e 61 74 | 69 6f 6e 20 76 61 72 69 |destinat|ion vari| |000036c0| 61 62 6c 65 20 6e 75 6d | 62 65 72 20 69 73 20 61 |able num|ber is a| |000036d0| 73 73 75 6d 65 64 20 74 | 6f 20 62 65 20 69 6e 20 |ssumed t|o be in | |000036e0| 74 68 65 20 78 72 65 67 | 2e 20 20 49 66 20 0d 74 |the xreg|. If .t| |000036f0| 68 65 72 65 20 69 73 20 | 6e 6f 20 6f 70 32 2c 20 |here is |no op2, | |00003700| 74 68 65 6e 20 74 68 65 | 20 76 61 6c 75 65 20 69 |then the| value i| |00003710| 73 20 61 73 73 75 6d 65 | 64 20 74 6f 20 62 65 20 |s assume|d to be | |00003720| 69 6e 20 61 63 63 2c 79 | 2e 0d 0d 0d 09 5f 73 75 |in acc,y|....._su| |00003730| 62 76 61 72 09 6f 70 31 | 2c 6f 70 32 0d 54 68 69 |bvar.op1|,op2.Thi| |00003740| 73 20 6d 61 63 72 6f 20 | 73 75 62 74 72 61 63 74 |s macro |subtract| |00003750| 73 20 61 20 76 61 72 69 | 61 62 6c 65 20 66 72 6f |s a vari|able fro| |00003760| 6d 20 74 68 65 20 64 65 | 73 74 69 6e 61 74 69 6f |m the de|stinatio| |00003770| 6e 20 76 61 72 69 61 62 | 6c 65 2e 20 20 49 66 20 |n variab|le. If | |00003780| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 0d 6f 70 31 |there is| no .op1| |00003790| 2c 20 74 68 65 6e 20 74 | 68 65 20 64 65 73 74 69 |, then t|he desti| |000037a0| 6e 61 74 69 6f 6e 20 76 | 61 72 69 61 62 6c 65 20 |nation v|ariable | |000037b0| 6e 75 6d 62 65 72 20 69 | 73 20 61 73 73 75 6d 65 |number i|s assume| |000037c0| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 78 |d to be |in the x| |000037d0| 72 65 67 2e 20 20 49 66 | 20 0d 74 68 65 72 65 20 |reg. If| .there | |000037e0| 69 73 20 6e 6f 20 6f 70 | 32 2c 20 74 68 65 6e 20 |is no op|2, then | |000037f0| 74 68 65 20 73 6f 75 72 | 63 65 20 76 61 72 69 61 |the sour|ce varia| |00003800| 62 6c 65 20 6e 75 6d 62 | 65 72 20 69 73 20 61 73 |ble numb|er is as| |00003810| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 74 |sumed to| be in t| |00003820| 68 65 20 0d 79 72 65 67 | 2e 0d 0d 0d 09 5f 73 75 |he .yreg|....._su| |00003830| 62 6c 09 6f 70 31 2c 6f | 70 32 0d 54 68 69 73 20 |bl.op1,o|p2.This | |00003840| 6d 61 63 72 6f 20 73 75 | 62 74 72 61 63 74 73 20 |macro su|btracts | |00003850| 61 20 31 2d 62 79 74 65 | 20 76 61 6c 75 65 20 66 |a 1-byte| value f| |00003860| 72 6f 6d 20 74 68 65 20 | 64 65 73 74 69 6e 61 74 |rom the |destinat| |00003870| 69 6f 6e 20 76 61 72 69 | 61 62 6c 65 2e 20 20 49 |ion vari|able. I| |00003880| 66 20 74 68 65 72 65 20 | 69 73 20 0d 6e 6f 20 6f |f there |is .no o| |00003890| 70 31 2c 20 74 68 65 6e | 20 74 68 65 20 64 65 73 |p1, then| the des| |000038a0| 74 69 6e 61 74 69 6f 6e | 20 76 61 72 69 61 62 6c |tination| variabl| |000038b0| 65 20 6e 75 6d 62 65 72 | 20 69 73 20 61 73 73 75 |e number| is assu| |000038c0| 6d 65 64 20 74 6f 20 62 | 65 20 69 6e 20 74 68 65 |med to b|e in the| |000038d0| 20 78 72 65 67 2e 20 20 | 0d 49 66 20 74 68 65 72 | xreg. |.If ther| |000038e0| 65 20 69 73 20 6e 6f 20 | 6f 70 32 2c 20 74 68 65 |e is no |op2, the| |000038f0| 6e 20 74 68 65 20 76 61 | 6c 75 65 20 69 73 20 61 |n the va|lue is a| |00003900| 73 73 75 6d 65 64 20 74 | 6f 20 62 65 20 69 6e 20 |ssumed t|o be in | |00003910| 74 68 65 20 61 63 63 2e | 0d 0d 0d 09 5f 73 75 62 |the acc.|...._sub| |00003920| 09 09 6f 70 31 2c 6f 70 | 32 0d 54 68 69 73 20 6d |..op1,op|2.This m| |00003930| 61 63 72 6f 20 73 75 62 | 74 72 61 63 74 73 20 61 |acro sub|tracts a| |00003940| 20 32 2d 62 79 74 65 20 | 76 61 6c 75 65 20 66 72 | 2-byte |value fr| |00003950| 6f 6d 20 74 68 65 20 64 | 65 73 74 69 6e 61 74 69 |om the d|estinati| |00003960| 6f 6e 20 76 61 72 69 61 | 62 6c 65 2e 20 20 49 66 |on varia|ble. If| |00003970| 20 74 68 65 72 65 20 69 | 73 20 0d 6e 6f 20 6f 70 | there i|s .no op| |00003980| 31 2c 20 74 68 65 6e 20 | 74 68 65 20 64 65 73 74 |1, then |the dest| |00003990| 69 6e 61 74 69 6f 6e 20 | 76 61 72 69 61 62 6c 65 |ination |variable| |000039a0| 20 6e 75 6d 62 65 72 20 | 69 73 20 61 73 73 75 6d | number |is assum| |000039b0| 65 64 20 74 6f 20 62 65 | 20 69 6e 20 74 68 65 20 |ed to be| in the | |000039c0| 78 72 65 67 2e 20 20 0d | 49 66 20 74 68 65 72 65 |xreg. .|If there| |000039d0| 20 69 73 20 6e 6f 20 6f | 70 32 2c 20 74 68 65 6e | is no o|p2, then| |000039e0| 20 74 68 65 20 76 61 6c | 75 65 20 69 73 20 61 73 | the val|ue is as| |000039f0| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 61 |sumed to| be in a| |00003a00| 63 63 2c 79 2e 20 0d 0d | 0d 09 5f 6d 75 6c 76 61 |cc,y. ..|.._mulva| |00003a10| 72 09 6f 70 31 2c 6f 70 | 32 0d 54 68 69 73 20 6d |r.op1,op|2.This m| |00003a20| 61 63 72 6f 20 6d 75 6c | 74 69 70 6c 69 65 73 20 |acro mul|tiplies | |00003a30| 74 68 65 20 64 65 73 74 | 69 6e 61 74 69 6f 6e 20 |the dest|ination | |00003a40| 76 61 72 69 61 62 6c 65 | 20 62 79 20 61 20 76 61 |variable| by a va| |00003a50| 72 69 61 62 6c 65 2e 20 | 20 49 66 20 74 68 65 72 |riable. | If ther| |00003a60| 65 20 69 73 20 6e 6f 20 | 0d 6f 70 31 2c 20 74 68 |e is no |.op1, th| |00003a70| 65 6e 20 74 68 65 20 64 | 65 73 74 69 6e 61 74 69 |en the d|estinati| |00003a80| 6f 6e 20 76 61 72 69 61 | 62 6c 65 20 6e 75 6d 62 |on varia|ble numb| |00003a90| 65 72 20 69 73 20 61 73 | 73 75 6d 65 64 20 74 6f |er is as|sumed to| |00003aa0| 20 62 65 20 69 6e 20 74 | 68 65 20 78 72 65 67 2e | be in t|he xreg.| |00003ab0| 20 20 49 66 20 0d 74 68 | 65 72 65 20 69 73 20 6e | If .th|ere is n| |00003ac0| 6f 20 6f 70 32 2c 20 74 | 68 65 6e 20 74 68 65 20 |o op2, t|hen the | |00003ad0| 73 6f 75 72 63 65 20 76 | 61 72 69 61 62 6c 65 20 |source v|ariable | |00003ae0| 6e 75 6d 62 65 72 20 69 | 73 20 61 73 73 75 6d 65 |number i|s assume| |00003af0| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 0d |d to be |in the .| |00003b00| 79 72 65 67 2e 0d 0d 0d | 09 5f 6d 75 6c 6c 09 6f |yreg....|._mull.o| |00003b10| 70 31 2c 6f 70 32 0d 54 | 68 69 73 20 6d 61 63 72 |p1,op2.T|his macr| |00003b20| 6f 20 6d 75 6c 74 69 70 | 6c 69 65 73 20 74 68 65 |o multip|lies the| |00003b30| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 76 61 72 | destina|tion var| |00003b40| 69 61 62 6c 65 20 62 79 | 20 61 20 31 2d 62 79 74 |iable by| a 1-byt| |00003b50| 65 20 76 61 6c 75 65 2e | 20 20 49 66 20 74 68 65 |e value.| If the| |00003b60| 72 65 20 69 73 20 0d 6e | 6f 20 6f 70 31 2c 20 74 |re is .n|o op1, t| |00003b70| 68 65 6e 20 74 68 65 20 | 64 65 73 74 69 6e 61 74 |hen the |destinat| |00003b80| 69 6f 6e 20 76 61 72 69 | 61 62 6c 65 20 6e 75 6d |ion vari|able num| |00003b90| 62 65 72 20 69 73 20 61 | 73 73 75 6d 65 64 20 74 |ber is a|ssumed t| |00003ba0| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 78 72 65 67 |o be in |the xreg| |00003bb0| 2e 20 20 0d 49 66 20 74 | 68 65 72 65 20 69 73 20 |. .If t|here is | |00003bc0| 6e 6f 20 6f 70 32 2c 20 | 74 68 65 6e 20 74 68 65 |no op2, |then the| |00003bd0| 20 76 61 6c 75 65 20 69 | 73 20 61 73 73 75 6d 65 | value i|s assume| |00003be0| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 61 |d to be |in the a| |00003bf0| 63 63 2e 0d 0d 0d 09 5f | 6d 75 6c 09 09 6f 70 31 |cc....._|mul..op1| |00003c00| 2c 6f 70 32 0d 54 68 69 | 73 20 6d 61 63 72 6f 20 |,op2.Thi|s macro | |00003c10| 6d 75 6c 74 69 70 6c 69 | 65 73 20 74 68 65 20 64 |multipli|es the d| |00003c20| 65 73 74 69 6e 61 74 69 | 6f 6e 20 76 61 72 69 61 |estinati|on varia| |00003c30| 62 6c 65 20 62 79 20 61 | 20 32 2d 62 79 74 65 20 |ble by a| 2-byte | |00003c40| 76 61 6c 75 65 2e 20 20 | 49 66 20 74 68 65 72 65 |value. |If there| |00003c50| 20 69 73 20 0d 6e 6f 20 | 6f 70 31 2c 20 74 68 65 | is .no |op1, the| |00003c60| 6e 20 74 68 65 20 64 65 | 73 74 69 6e 61 74 69 6f |n the de|stinatio| |00003c70| 6e 20 76 61 72 69 61 62 | 6c 65 20 6e 75 6d 62 65 |n variab|le numbe| |00003c80| 72 20 69 73 20 61 73 73 | 75 6d 65 64 20 74 6f 20 |r is ass|umed to | |00003c90| 62 65 20 69 6e 20 74 68 | 65 20 78 72 65 67 2e 20 |be in th|e xreg. | |00003ca0| 20 0d 49 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f | .If the|re is no| |00003cb0| 20 6f 70 32 2c 20 74 68 | 65 6e 20 74 68 65 20 76 | op2, th|en the v| |00003cc0| 61 6c 75 65 20 69 73 20 | 61 73 73 75 6d 65 64 20 |alue is |assumed | |00003cd0| 74 6f 20 62 65 20 69 6e | 20 61 63 63 2c 79 2e 20 |to be in| acc,y. | |00003ce0| 0d 0d 0d 09 5f 64 69 76 | 76 61 72 09 6f 70 31 2c |...._div|var.op1,| |00003cf0| 6f 70 32 0d 54 68 69 73 | 20 6d 61 63 72 6f 20 64 |op2.This| macro d| |00003d00| 69 76 69 64 65 73 20 74 | 68 65 20 64 65 73 74 69 |ivides t|he desti| |00003d10| 6e 61 74 69 6f 6e 20 76 | 61 72 69 61 62 6c 65 20 |nation v|ariable | |00003d20| 62 79 20 61 20 76 61 72 | 69 61 62 6c 65 2e 20 20 |by a var|iable. | |00003d30| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6f |If there| is no o| |00003d40| 70 31 2c 20 0d 74 68 65 | 6e 20 74 68 65 20 64 65 |p1, .the|n the de| |00003d50| 73 74 69 6e 61 74 69 6f | 6e 20 76 61 72 69 61 62 |stinatio|n variab| |00003d60| 6c 65 20 6e 75 6d 62 65 | 72 20 69 73 20 61 73 73 |le numbe|r is ass| |00003d70| 75 6d 65 64 20 74 6f 20 | 62 65 20 69 6e 20 74 68 |umed to |be in th| |00003d80| 65 20 78 72 65 67 2e 20 | 20 49 66 20 74 68 65 72 |e xreg. | If ther| |00003d90| 65 20 69 73 20 0d 6e 6f | 20 6f 70 32 2c 20 74 68 |e is .no| op2, th| |00003da0| 65 6e 20 74 68 65 20 73 | 6f 75 72 63 65 20 76 61 |en the s|ource va| |00003db0| 72 69 61 62 6c 65 20 6e | 75 6d 62 65 72 20 69 73 |riable n|umber is| |00003dc0| 20 61 73 73 75 6d 65 64 | 20 74 6f 20 62 65 20 69 | assumed| to be i| |00003dd0| 6e 20 74 68 65 20 79 72 | 65 67 2e 20 20 54 68 65 |n the yr|eg. The| |00003de0| 20 0d 72 65 6d 61 69 6e | 64 65 72 20 66 72 6f 6d | .remain|der from| |00003df0| 20 74 68 65 20 64 69 76 | 69 64 65 20 69 73 20 69 | the div|ide is i| |00003e00| 6e 20 74 68 65 20 61 63 | 63 2c 79 2e 0d 0d 0d 09 |n the ac|c,y.....| |00003e10| 5f 64 69 76 6c 09 6f 70 | 31 2c 6f 70 32 0d 54 68 |_divl.op|1,op2.Th| |00003e20| 69 73 20 6d 61 63 72 6f | 20 64 69 76 69 64 65 73 |is macro| divides| |00003e30| 20 74 68 65 20 64 65 73 | 74 69 6e 61 74 69 6f 6e | the des|tination| |00003e40| 20 76 61 72 69 61 62 6c | 65 20 62 79 20 61 20 31 | variabl|e by a 1| |00003e50| 2d 62 79 74 65 20 76 61 | 6c 75 65 2e 20 20 49 66 |-byte va|lue. If| |00003e60| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 0d 6f 70 | there i|s no .op| |00003e70| 31 2c 20 74 68 65 6e 20 | 74 68 65 20 64 65 73 74 |1, then |the dest| |00003e80| 69 6e 61 74 69 6f 6e 20 | 76 61 72 69 61 62 6c 65 |ination |variable| |00003e90| 20 6e 75 6d 62 65 72 20 | 69 73 20 61 73 73 75 6d | number |is assum| |00003ea0| 65 64 20 74 6f 20 62 65 | 20 69 6e 20 74 68 65 20 |ed to be| in the | |00003eb0| 78 72 65 67 2e 20 20 49 | 66 20 0d 74 68 65 72 65 |xreg. I|f .there| |00003ec0| 20 69 73 20 6e 6f 20 6f | 70 32 2c 20 74 68 65 6e | is no o|p2, then| |00003ed0| 20 74 68 65 20 76 61 6c | 75 65 20 69 73 20 61 73 | the val|ue is as| |00003ee0| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 74 |sumed to| be in t| |00003ef0| 68 65 20 61 63 63 2e 20 | 20 54 68 65 20 72 65 6d |he acc. | The rem| |00003f00| 61 69 6e 64 65 72 20 0d | 66 72 6f 6d 20 74 68 65 |ainder .|from the| |00003f10| 20 64 69 76 69 64 65 20 | 69 73 20 69 6e 20 74 68 | divide |is in th| |00003f20| 65 20 61 63 63 2c 79 2e | 0d 0d 0d 09 5f 64 69 76 |e acc,y.|...._div| |00003f30| 09 09 6f 70 31 2c 6f 70 | 32 0d 54 68 69 73 20 6d |..op1,op|2.This m| |00003f40| 61 63 72 6f 20 64 69 76 | 69 64 65 73 20 74 68 65 |acro div|ides the| |00003f50| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 76 61 72 | destina|tion var| |00003f60| 69 61 62 6c 65 20 62 79 | 20 61 20 32 2d 62 79 74 |iable by| a 2-byt| |00003f70| 65 20 76 61 6c 75 65 2e | 20 20 49 66 20 74 68 65 |e value.| If the| |00003f80| 72 65 20 69 73 20 6e 6f | 20 0d 6f 70 31 2c 20 74 |re is no| .op1, t| |00003f90| 68 65 6e 20 74 68 65 20 | 64 65 73 74 69 6e 61 74 |hen the |destinat| |00003fa0| 69 6f 6e 20 76 61 72 69 | 61 62 6c 65 20 6e 75 6d |ion vari|able num| |00003fb0| 62 65 72 20 69 73 20 61 | 73 73 75 6d 65 64 20 74 |ber is a|ssumed t| |00003fc0| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 78 72 65 67 |o be in |the xreg| |00003fd0| 2e 20 20 49 66 20 0d 74 | 68 65 72 65 20 69 73 20 |. If .t|here is | |00003fe0| 6e 6f 20 6f 70 32 2c 20 | 74 68 65 6e 20 74 68 65 |no op2, |then the| |00003ff0| 20 76 61 6c 75 65 20 69 | 73 20 61 73 73 75 6d 65 | value i|s assume| |00004000| 64 20 74 6f 20 62 65 20 | 69 6e 20 61 63 63 2c 79 |d to be |in acc,y| |00004010| 2e 20 20 54 68 65 20 72 | 65 6d 61 69 6e 64 65 72 |. The r|emainder| |00004020| 20 0d 66 72 6f 6d 20 74 | 68 65 20 64 69 76 69 64 | .from t|he divid| |00004030| 65 20 69 73 20 69 6e 20 | 74 68 65 20 61 63 63 2c |e is in |the acc,| |00004040| 79 2e 0d 0d 0d 09 5f 76 | 61 72 09 09 6f 70 0d 54 |y....._v|ar..op.T| |00004050| 68 69 73 20 6d 61 63 72 | 6f 20 73 65 74 73 20 74 |his macr|o sets t| |00004060| 68 65 20 63 75 72 72 65 | 6e 74 20 76 61 72 69 61 |he curre|nt varia| |00004070| 62 6c 65 2e 20 20 54 68 | 65 20 63 75 72 72 65 6e |ble. Th|e curren| |00004080| 74 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 64 65 |t variab|le is de| |00004090| 66 69 6e 65 64 20 62 79 | 20 61 20 0d 6e 75 6d 62 |fined by| a .numb| |000040a0| 65 72 20 69 6e 20 74 68 | 65 20 78 72 65 67 2e 20 |er in th|e xreg. | |000040b0| 20 41 6c 6c 20 72 75 6e | 74 69 6d 65 20 66 75 6e | All run|time fun| |000040c0| 63 74 69 6f 6e 73 20 70 | 72 65 73 65 72 76 65 20 |ctions p|reserve | |000040d0| 74 68 65 20 78 72 65 67 | 2c 20 73 6f 20 6d 75 6c |the xreg|, so mul| |000040e0| 74 69 70 6c 65 20 0d 6f | 70 65 72 61 74 69 6f 6e |tiple .o|peration| |000040f0| 73 20 63 61 6e 20 62 65 | 20 64 6f 6e 65 20 74 6f |s can be| done to| |00004100| 20 74 68 65 20 73 61 6d | 65 20 76 61 72 69 61 62 | the sam|e variab| |00004110| 6c 65 20 77 69 74 68 6f | 75 74 20 68 61 76 69 6e |le witho|ut havin| |00004120| 67 20 74 6f 20 72 65 6c | 6f 61 64 20 74 68 65 20 |g to rel|oad the | |00004130| 0d 78 72 65 67 20 77 69 | 74 68 20 74 68 65 20 76 |.xreg wi|th the v| |00004140| 61 72 69 61 62 6c 65 20 | 6e 75 6d 62 65 72 2e 0d |ariable |number..| |00004150| 0d 0d 09 5f 73 65 74 30 | 09 6f 70 0d 54 68 69 73 |..._set0|.op.This| |00004160| 20 6d 61 63 72 6f 20 73 | 65 74 73 20 61 20 76 61 | macro s|ets a va| |00004170| 72 69 61 62 6c 65 20 74 | 6f 20 30 2e 20 20 49 66 |riable t|o 0. If| |00004180| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 6f 70 31 | there i|s no op1| |00004190| 2c 20 74 68 65 6e 20 74 | 68 65 20 64 65 73 74 69 |, then t|he desti| |000041a0| 6e 61 74 69 6f 6e 20 0d | 76 61 72 69 61 62 6c 65 |nation .|variable| |000041b0| 20 6e 75 6d 62 65 72 20 | 69 73 20 61 73 73 75 6d | number |is assum| |000041c0| 65 64 20 74 6f 20 62 65 | 20 69 6e 20 74 68 65 20 |ed to be| in the | |000041d0| 78 72 65 67 2e 0d 0d 0d | 09 5f 76 61 72 63 70 79 |xreg....|._varcpy| |000041e0| 09 6f 70 31 2c 6f 70 32 | 0d 54 68 69 73 20 6d 61 |.op1,op2|.This ma| |000041f0| 63 72 6f 20 73 65 74 73 | 20 61 20 76 61 72 69 61 |cro sets| a varia| |00004200| 62 6c 65 20 74 6f 20 61 | 6e 6f 74 68 65 72 20 76 |ble to a|nother v| |00004210| 61 72 69 61 62 6c 65 2e | 20 20 49 66 20 74 68 65 |ariable.| If the| |00004220| 72 65 20 69 73 20 6e 6f | 20 6f 70 31 2c 20 74 68 |re is no| op1, th| |00004230| 65 6e 20 74 68 65 20 0d | 64 65 73 74 69 6e 61 74 |en the .|destinat| |00004240| 69 6f 6e 20 76 61 72 69 | 61 62 6c 65 20 6e 75 6d |ion vari|able num| |00004250| 62 65 72 20 69 73 20 61 | 73 73 75 6d 65 64 20 74 |ber is a|ssumed t| |00004260| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 78 72 65 67 |o be in |the xreg| |00004270| 2e 20 20 49 66 20 74 68 | 65 72 65 20 69 73 20 6e |. If th|ere is n| |00004280| 6f 20 6f 70 32 2c 20 0d | 74 68 65 6e 20 74 68 65 |o op2, .|then the| |00004290| 20 73 6f 75 72 63 65 20 | 76 61 72 69 61 62 6c 65 | source |variable| |000042a0| 20 6e 75 6d 62 65 72 20 | 69 73 20 61 73 73 75 6d | number |is assum| |000042b0| 65 64 20 74 6f 20 62 65 | 20 69 6e 20 74 68 65 20 |ed to be| in the | |000042c0| 79 72 65 67 2e 0d 0d 0d | 09 5f 73 65 74 6c 09 09 |yreg....|._setl..| |000042d0| 6f 70 31 2c 6f 70 32 0d | 54 68 69 73 20 6d 61 63 |op1,op2.|This mac| |000042e0| 72 6f 20 73 65 74 73 20 | 61 20 76 61 72 69 61 62 |ro sets |a variab| |000042f0| 6c 65 20 74 6f 20 61 20 | 31 2d 62 79 74 65 20 76 |le to a |1-byte v| |00004300| 61 6c 75 65 2e 20 20 49 | 66 20 74 68 65 72 65 20 |alue. I|f there | |00004310| 69 73 20 6e 6f 20 6f 70 | 31 2c 20 74 68 65 6e 20 |is no op|1, then | |00004320| 74 68 65 20 0d 64 65 73 | 74 69 6e 61 74 69 6f 6e |the .des|tination| |00004330| 20 76 61 72 69 61 62 6c | 65 20 6e 75 6d 62 65 72 | variabl|e number| |00004340| 20 69 73 20 61 73 73 75 | 6d 65 64 20 74 6f 20 62 | is assu|med to b| |00004350| 65 20 69 6e 20 74 68 65 | 20 78 72 65 67 2e 20 20 |e in the| xreg. | |00004360| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6f |If there| is no o| |00004370| 70 32 2c 20 0d 74 68 65 | 6e 20 74 68 65 20 76 61 |p2, .the|n the va| |00004380| 6c 75 65 20 69 73 20 61 | 73 73 75 6d 65 64 20 74 |lue is a|ssumed t| |00004390| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 61 63 63 2e |o be in |the acc.| |000043a0| 0d 0d 0d 09 5f 73 65 74 | 09 09 6f 70 31 2c 6f 70 |...._set|..op1,op| |000043b0| 32 0d 54 68 69 73 20 6d | 61 63 72 6f 20 73 65 74 |2.This m|acro set| |000043c0| 73 20 61 20 76 61 72 69 | 61 62 6c 65 20 74 6f 20 |s a vari|able to | |000043d0| 61 20 32 2d 62 79 74 65 | 20 76 61 6c 75 65 2e 20 |a 2-byte| value. | |000043e0| 20 49 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 | If ther|e is no | |000043f0| 6f 70 31 2c 20 74 68 65 | 6e 20 74 68 65 20 0d 64 |op1, the|n the .d| |00004400| 65 73 74 69 6e 61 74 69 | 6f 6e 20 76 61 72 69 61 |estinati|on varia| |00004410| 62 6c 65 20 6e 75 6d 62 | 65 72 20 69 73 20 61 73 |ble numb|er is as| |00004420| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 74 |sumed to| be in t| |00004430| 68 65 20 78 72 65 67 2e | 20 20 49 66 20 74 68 65 |he xreg.| If the| |00004440| 72 65 20 69 73 20 6e 6f | 20 6f 70 32 2c 20 0d 74 |re is no| op2, .t| |00004450| 68 65 6e 20 74 68 65 20 | 76 61 6c 75 65 20 69 73 |hen the |value is| |00004460| 20 61 73 73 75 6d 65 64 | 20 74 6f 20 62 65 20 69 | assumed| to be i| |00004470| 6e 20 61 63 63 2c 79 2e | 0d 0d 0d 09 5f 73 65 74 |n acc,y.|...._set| |00004480| 76 61 72 73 09 6f 70 31 | 2c 6f 70 32 2c 6f 70 33 |vars.op1|,op2,op3| |00004490| 2c 6f 70 34 2c 2e 2e 2e | 0d 54 68 69 73 20 6d 61 |,op4,...|.This ma| |000044a0| 63 72 6f 20 73 65 74 73 | 20 6d 75 6c 74 69 70 6c |cro sets| multipl| |000044b0| 65 20 76 61 72 69 61 62 | 6c 65 73 20 74 6f 20 63 |e variab|les to c| |000044c0| 6f 6e 73 74 61 6e 74 20 | 76 61 6c 75 65 73 2e 20 |onstant |values. | |000044d0| 20 54 68 65 20 6d 61 63 | 72 6f 20 69 73 20 0d 66 | The mac|ro is .f| |000044e0| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 61 73 20 6d 61 |ollowed |by as ma| |000044f0| 6e 79 20 6f 70 65 72 61 | 6e 64 73 20 61 73 20 4d |ny opera|nds as M| |00004500| 50 57 20 61 6c 6c 6f 77 | 73 2e 20 20 54 68 65 20 |PW allow|s. The | |00004510| 6c 69 6e 65 20 63 6f 6e | 74 69 6e 75 61 74 69 6f |line con|tinuatio| |00004520| 6e 20 0d 63 68 61 72 61 | 63 74 65 72 20 5c 20 63 |n .chara|cter \ c| |00004530| 61 6e 20 62 65 20 75 73 | 65 64 2e 20 20 54 68 65 |an be us|ed. The| |00004540| 20 6f 64 64 20 6f 70 65 | 72 61 6e 64 73 20 61 72 | odd ope|rands ar| |00004550| 65 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 73 20 |e the va|riables | |00004560| 74 6f 20 62 65 20 73 65 | 74 2c 20 61 6e 64 20 0d |to be se|t, and .| |00004570| 74 68 65 20 65 76 65 6e | 20 6f 70 65 72 61 6e 64 |the even| operand| |00004580| 73 20 61 72 65 20 74 68 | 65 20 76 61 6c 75 65 73 |s are th|e values| |00004590| 20 74 68 65 79 20 73 68 | 6f 75 6c 64 20 62 65 20 | they sh|ould be | |000045a0| 73 65 74 20 74 6f 2e 20 | 20 4f 70 65 72 61 6e 64 |set to. | Operand| |000045b0| 31 20 67 65 74 73 20 74 | 68 65 20 0d 76 61 6c 75 |1 gets t|he .valu| |000045c0| 65 20 6f 66 20 6f 70 65 | 72 61 6e 64 20 32 2c 20 |e of ope|rand 2, | |000045d0| 61 6e 64 20 73 6f 20 6f | 6e 2e 20 20 54 68 65 20 |and so o|n. The | |000045e0| 6d 61 63 72 6f 20 61 75 | 74 6f 6d 61 74 69 63 61 |macro au|tomatica| |000045f0| 6c 6c 79 20 74 65 72 6d | 69 6e 61 74 65 73 20 74 |lly term|inates t| |00004600| 68 65 20 6c 69 73 74 20 | 0d 77 69 74 68 20 61 20 |he list |.with a | |00004610| 32 35 35 20 62 79 74 65 | 2e 20 20 54 68 69 73 20 |255 byte|. This | |00004620| 69 73 20 77 68 79 20 32 | 35 35 20 69 73 20 6e 6f |is why 2|55 is no| |00004630| 74 20 61 6c 6c 6f 77 65 | 64 20 61 73 20 61 20 76 |t allowe|d as a v| |00004640| 61 72 69 61 62 6c 65 20 | 6e 75 6d 62 65 72 2e 0d |ariable |number..| |00004650| 0d 0d 09 5f 6d 69 6e 73 | 77 61 70 09 6f 70 31 2c |..._mins|wap.op1,| |00004660| 6f 70 32 0d 54 68 69 73 | 20 6d 61 63 72 6f 20 73 |op2.This| macro s| |00004670| 77 61 70 73 20 74 68 65 | 20 74 77 6f 20 76 61 72 |waps the| two var| |00004680| 69 61 62 6c 65 73 20 69 | 66 20 74 68 65 20 78 72 |iables i|f the xr| |00004690| 65 67 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 62 |eg varia|ble is b| |000046a0| 69 67 67 65 72 20 74 68 | 61 6e 20 74 68 65 20 0d |igger th|an the .| |000046b0| 79 72 65 67 20 76 61 72 | 69 61 62 6c 65 2e 20 20 |yreg var|iable. | |000046c0| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6f |If there| is no o| |000046d0| 70 31 2c 20 74 68 65 6e | 20 74 68 65 20 64 65 73 |p1, then| the des| |000046e0| 74 69 6e 61 74 69 6f 6e | 20 76 61 72 69 61 62 6c |tination| variabl| |000046f0| 65 20 6e 75 6d 62 65 72 | 20 69 73 20 0d 61 73 73 |e number| is .ass| |00004700| 75 6d 65 64 20 74 6f 20 | 62 65 20 69 6e 20 74 68 |umed to |be in th| |00004710| 65 20 78 72 65 67 2e 20 | 20 49 66 20 74 68 65 72 |e xreg. | If ther| |00004720| 65 20 69 73 20 6e 6f 20 | 6f 70 32 2c 20 74 68 65 |e is no |op2, the| |00004730| 6e 20 74 68 65 20 73 6f | 75 72 63 65 20 76 61 72 |n the so|urce var| |00004740| 69 61 62 6c 65 20 0d 6e | 75 6d 62 65 72 20 69 73 |iable .n|umber is| |00004750| 20 61 73 73 75 6d 65 64 | 20 74 6f 20 62 65 20 69 | assumed| to be i| |00004760| 6e 20 74 68 65 20 79 72 | 65 67 2e 0d 0d 0d 09 5f |n the yr|eg....._| |00004770| 6d 61 78 73 77 61 70 09 | 6f 70 31 2c 6f 70 32 0d |maxswap.|op1,op2.| |00004780| 54 68 69 73 20 6d 61 63 | 72 6f 20 73 77 61 70 73 |This mac|ro swaps| |00004790| 20 74 68 65 20 74 77 6f | 20 76 61 72 69 61 62 6c | the two| variabl| |000047a0| 65 73 20 69 66 20 74 68 | 65 20 78 72 65 67 20 76 |es if th|e xreg v| |000047b0| 61 72 69 61 62 6c 65 20 | 69 73 20 73 6d 61 6c 6c |ariable |is small| |000047c0| 65 72 20 74 68 61 6e 20 | 74 68 65 20 0d 79 72 65 |er than |the .yre| |000047d0| 67 20 76 61 72 69 61 62 | 6c 65 2e 20 20 49 66 20 |g variab|le. If | |000047e0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6f 70 31 2c |there is| no op1,| |000047f0| 20 74 68 65 6e 20 74 68 | 65 20 64 65 73 74 69 6e | then th|e destin| |00004800| 61 74 69 6f 6e 20 76 61 | 72 69 61 62 6c 65 20 6e |ation va|riable n| |00004810| 75 6d 62 65 72 20 69 73 | 20 0d 61 73 73 75 6d 65 |umber is| .assume| |00004820| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 78 |d to be |in the x| |00004830| 72 65 67 2e 20 20 49 66 | 20 74 68 65 72 65 20 69 |reg. If| there i| |00004840| 73 20 6e 6f 20 6f 70 32 | 2c 20 74 68 65 6e 20 74 |s no op2|, then t| |00004850| 68 65 20 73 6f 75 72 63 | 65 20 76 61 72 69 61 62 |he sourc|e variab| |00004860| 6c 65 20 0d 6e 75 6d 62 | 65 72 20 69 73 20 61 73 |le .numb|er is as| |00004870| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 74 |sumed to| be in t| |00004880| 68 65 20 79 72 65 67 2e | 0d 0d 0d 09 5f 76 73 67 |he yreg.|...._vsg| |00004890| 6e 63 6d 70 09 6f 70 31 | 2c 6f 70 32 0d 54 68 69 |ncmp.op1|,op2.Thi| |000048a0| 73 20 6d 61 63 72 6f 20 | 64 6f 65 73 20 61 20 73 |s macro |does a s| |000048b0| 69 67 6e 65 64 20 63 6f | 6d 70 61 72 65 20 6f 66 |igned co|mpare of| |000048c0| 20 74 77 6f 20 76 61 72 | 69 61 62 6c 65 73 2e 20 | two var|iables. | |000048d0| 20 54 68 65 20 65 71 75 | 61 6c 20 73 74 61 74 75 | The equ|al statu| |000048e0| 73 20 69 73 20 74 72 75 | 65 20 0d 69 66 20 74 68 |s is tru|e .if th| |000048f0| 65 20 76 61 72 69 61 62 | 6c 65 73 20 61 72 65 20 |e variab|les are | |00004900| 65 71 75 61 6c 2e 20 20 | 49 66 20 74 68 65 20 78 |equal. |If the x| |00004910| 72 65 67 20 76 61 72 69 | 61 62 6c 65 20 69 73 20 |reg vari|able is | |00004920| 67 72 65 61 74 65 72 20 | 6f 72 20 65 71 75 61 6c |greater |or equal| |00004930| 2c 20 74 68 65 6e 20 74 | 68 65 20 0d 63 61 72 72 |, then t|he .carr| |00004940| 79 20 69 73 20 73 65 74 | 2e 20 20 49 66 20 74 68 |y is set|. If th| |00004950| 65 20 78 72 65 67 20 76 | 61 72 69 61 62 6c 65 20 |e xreg v|ariable | |00004960| 69 73 20 73 6d 61 6c 6c | 65 72 2c 20 74 68 65 6e |is small|er, then| |00004970| 20 74 68 65 20 63 61 72 | 72 79 20 69 73 20 63 6c | the car|ry is cl| |00004980| 65 61 72 2e 20 20 49 66 | 20 74 68 65 72 65 20 69 |ear. If| there i| |00004990| 73 20 0d 6e 6f 20 6f 70 | 31 2c 20 74 68 65 6e 20 |s .no op|1, then | |000049a0| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 6e 75 6d |the vari|able num| |000049b0| 62 65 72 20 69 73 20 61 | 73 73 75 6d 65 64 20 74 |ber is a|ssumed t| |000049c0| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 78 72 65 67 |o be in |the xreg| |000049d0| 2e 20 20 49 66 20 74 68 | 65 72 65 20 69 73 20 6e |. If th|ere is n| |000049e0| 6f 20 0d 6f 70 32 2c 20 | 74 68 65 6e 20 74 68 65 |o .op2, |then the| |000049f0| 20 76 61 72 69 61 62 6c | 65 20 6e 75 6d 62 65 72 | variabl|e number| |00004a00| 20 69 73 20 61 73 73 75 | 6d 65 64 20 74 6f 20 62 | is assu|med to b| |00004a10| 65 20 69 6e 20 74 68 65 | 20 79 72 65 67 2e 0d 0d |e in the| yreg...| |00004a20| 0d 09 5f 76 63 6d 70 09 | 6f 70 31 2c 6f 70 32 0d |.._vcmp.|op1,op2.| |00004a30| 54 68 69 73 20 6d 61 63 | 72 6f 20 64 6f 65 73 20 |This mac|ro does | |00004a40| 61 6e 20 75 6e 73 69 67 | 6e 65 64 20 63 6f 6d 70 |an unsig|ned comp| |00004a50| 61 72 65 20 6f 66 20 74 | 77 6f 20 76 61 72 69 61 |are of t|wo varia| |00004a60| 62 6c 65 73 2e 20 20 54 | 68 65 20 65 71 75 61 6c |bles. T|he equal| |00004a70| 20 73 74 61 74 75 73 20 | 69 73 20 0d 74 72 75 65 | status |is .true| |00004a80| 20 69 66 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | if the |variable| |00004a90| 73 20 61 72 65 20 65 71 | 75 61 6c 2e 20 20 49 66 |s are eq|ual. If| |00004aa0| 20 74 68 65 20 78 72 65 | 67 20 76 61 72 69 61 62 | the xre|g variab| |00004ab0| 6c 65 20 69 73 20 67 72 | 65 61 74 65 72 20 6f 72 |le is gr|eater or| |00004ac0| 20 65 71 75 61 6c 2c 20 | 74 68 65 6e 20 0d 74 68 | equal, |then .th| |00004ad0| 65 20 63 61 72 72 79 20 | 69 73 20 73 65 74 2e 20 |e carry |is set. | |00004ae0| 20 49 66 20 74 68 65 20 | 78 72 65 67 20 76 61 72 | If the |xreg var| |00004af0| 69 61 62 6c 65 20 69 73 | 20 73 6d 61 6c 6c 65 72 |iable is| smaller| |00004b00| 2c 20 74 68 65 6e 20 74 | 68 65 20 63 61 72 72 79 |, then t|he carry| |00004b10| 20 69 73 20 63 6c 65 61 | 72 2e 20 20 49 66 20 0d | is clea|r. If .| |00004b20| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6f 70 31 2c |there is| no op1,| |00004b30| 20 74 68 65 6e 20 74 68 | 65 20 76 61 72 69 61 62 | then th|e variab| |00004b40| 6c 65 20 6e 75 6d 62 65 | 72 20 69 73 20 61 73 73 |le numbe|r is ass| |00004b50| 75 6d 65 64 20 74 6f 20 | 62 65 20 69 6e 20 74 68 |umed to |be in th| |00004b60| 65 20 78 72 65 67 2e 20 | 20 49 66 20 0d 74 68 65 |e xreg. | If .the| |00004b70| 72 65 20 69 73 20 6e 6f | 20 6f 70 32 2c 20 74 68 |re is no| op2, th| |00004b80| 65 6e 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |en the v|ariable | |00004b90| 6e 75 6d 62 65 72 20 69 | 73 20 61 73 73 75 6d 65 |number i|s assume| |00004ba0| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 79 |d to be |in the y| |00004bb0| 72 65 67 2e 0d 0d 0d 09 | 5f 73 67 6e 63 6d 70 09 |reg.....|_sgncmp.| |00004bc0| 6f 70 31 2c 6f 70 32 0d | 54 68 69 73 20 6d 61 63 |op1,op2.|This mac| |00004bd0| 72 6f 20 77 6f 72 6b 73 | 20 74 68 65 20 73 61 6d |ro works| the sam| |00004be0| 65 20 61 73 20 5f 76 73 | 67 6e 63 6d 70 2c 20 65 |e as _vs|gncmp, e| |00004bf0| 78 63 65 70 74 20 74 68 | 61 74 20 69 74 20 63 6f |xcept th|at it co| |00004c00| 6d 70 61 72 65 73 20 61 | 20 76 61 72 69 61 62 6c |mpares a| variabl| |00004c10| 65 20 0d 74 6f 20 61 20 | 63 6f 6e 73 74 61 6e 74 |e .to a |constant| |00004c20| 2e 20 20 0d 0d 0d 09 5f | 63 6d 70 09 6f 70 31 2c |. ...._|cmp.op1,| |00004c30| 6f 70 32 0d 54 68 69 73 | 20 6d 61 63 72 6f 20 77 |op2.This| macro w| |00004c40| 6f 72 6b 73 20 74 68 65 | 20 73 61 6d 65 20 61 73 |orks the| same as| |00004c50| 20 5f 76 63 6d 70 2c 20 | 65 78 63 65 70 74 20 74 | _vcmp, |except t| |00004c60| 68 61 74 20 69 74 20 63 | 6f 6d 70 61 72 65 73 20 |hat it c|ompares | |00004c70| 61 20 76 61 72 69 61 62 | 6c 65 20 74 6f 20 61 20 |a variab|le to a | |00004c80| 0d 63 6f 6e 73 74 61 6e | 74 2e 20 20 0d 0d 0d 09 |.constan|t. ....| |00004c90| 5f 72 6e 64 73 65 65 64 | 09 6f 70 0d 54 68 69 73 |_rndseed|.op.This| |00004ca0| 20 6d 61 63 72 6f 20 69 | 73 20 75 73 65 64 20 74 | macro i|s used t| |00004cb0| 6f 20 73 65 65 64 20 74 | 68 65 20 72 61 6e 64 6f |o seed t|he rando| |00004cc0| 6d 20 6e 75 6d 62 65 72 | 20 67 65 6e 65 72 61 74 |m number| generat| |00004cd0| 6f 72 2e 20 20 49 66 20 | 74 68 65 72 65 20 69 73 |or. If |there is| |00004ce0| 20 6e 6f 20 0d 6f 70 31 | 2c 20 74 68 65 6e 20 74 | no .op1|, then t| |00004cf0| 68 65 20 72 61 6e 64 6f | 6d 20 73 65 65 64 20 69 |he rando|m seed i| |00004d00| 73 20 61 73 73 75 6d 65 | 64 20 74 6f 20 62 65 20 |s assume|d to be | |00004d10| 69 6e 20 74 68 65 20 61 | 63 63 2c 79 2e 0d 0d 0d |in the a|cc,y....| |00004d20| 09 5f 72 61 6e 64 6f 6d | 09 6f 70 0d 54 68 69 73 |._random|.op.This| |00004d30| 20 6d 61 63 72 6f 20 69 | 73 20 75 73 65 64 20 74 | macro i|s used t| |00004d40| 6f 20 72 65 74 75 72 6e | 20 61 20 72 61 6e 64 6f |o return| a rando| |00004d50| 6d 20 6e 75 6d 62 65 72 | 20 66 72 6f 6d 20 30 20 |m number| from 0 | |00004d60| 74 6f 20 6f 70 20 2d 20 | 31 2e 20 20 49 66 20 74 |to op - |1. If t| |00004d70| 68 65 72 65 20 69 73 20 | 0d 6e 6f 20 6f 70 31 2c |here is |.no op1,| |00004d80| 20 74 68 65 6e 20 74 68 | 65 20 72 61 6e 64 6f 6d | then th|e random| |00004d90| 20 6e 75 6d 62 65 72 20 | 6c 69 6d 69 74 20 69 73 | number |limit is| |00004da0| 20 61 73 73 75 6d 65 64 | 20 74 6f 20 62 65 20 69 | assumed| to be i| |00004db0| 6e 20 74 68 65 20 61 63 | 63 2c 79 2e 0d 0d 0d 09 |n the ac|c,y.....| |00004dc0| 5f 73 74 72 76 61 6c 09 | 6f 70 0d 54 68 69 73 20 |_strval.|op.This | |00004dd0| 6d 61 63 72 6f 20 74 61 | 6b 65 73 20 74 68 65 20 |macro ta|kes the | |00004de0| 76 61 6c 75 65 20 6f 66 | 20 61 20 73 74 72 69 6e |value of| a strin| |00004df0| 67 20 61 6e 64 20 72 65 | 74 75 72 6e 73 20 69 74 |g and re|turns it| |00004e00| 20 69 6e 20 74 68 65 20 | 61 63 63 2c 79 2e 20 20 | in the |acc,y. | |00004e10| 49 66 20 74 68 65 72 65 | 20 69 73 20 0d 6e 6f 20 |If there| is .no | |00004e20| 6f 70 31 2c 20 74 68 65 | 6e 20 74 68 65 20 73 74 |op1, the|n the st| |00004e30| 72 69 6e 67 20 6e 75 6d | 62 65 72 20 69 73 20 61 |ring num|ber is a| |00004e40| 73 73 75 6d 65 64 20 74 | 6f 20 62 65 20 69 6e 20 |ssumed t|o be in | |00004e50| 74 68 65 20 78 72 65 67 | 2e 0d 0d 0d 09 5f 6d 69 |the xreg|....._mi| |00004e60| 64 73 74 72 76 61 6c 09 | 6f 70 31 2c 6f 70 32 0d |dstrval.|op1,op2.| |00004e70| 54 68 69 73 20 6d 61 63 | 72 6f 20 74 61 6b 65 73 |This mac|ro takes| |00004e80| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 6f 70 | the val|ue of op| |00004e90| 31 20 73 74 72 69 6e 67 | 20 73 74 61 72 74 69 6e |1 string| startin| |00004ea0| 67 20 61 74 20 6f 70 32 | 20 63 68 61 72 61 63 74 |g at op2| charact| |00004eb0| 65 72 20 61 6e 64 20 72 | 65 74 75 72 6e 73 20 0d |er and r|eturns .| |00004ec0| 69 74 20 69 6e 20 74 68 | 65 20 61 63 63 2c 79 2e |it in th|e acc,y.| |00004ed0| 20 20 49 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f | If the|re is no| |00004ee0| 20 6f 70 31 2c 20 74 68 | 65 6e 20 74 68 65 20 73 | op1, th|en the s| |00004ef0| 74 72 69 6e 67 20 6e 75 | 6d 62 65 72 20 69 73 20 |tring nu|mber is | |00004f00| 61 73 73 75 6d 65 64 20 | 74 6f 20 62 65 20 69 6e |assumed |to be in| |00004f10| 20 0d 74 68 65 20 78 72 | 65 67 2e 20 20 49 66 20 | .the xr|eg. If | |00004f20| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6f 70 32 2c |there is| no op2,| |00004f30| 20 74 68 65 6e 20 74 68 | 65 20 63 68 61 72 61 63 | then th|e charac| |00004f40| 74 65 72 20 6e 75 6d 62 | 65 72 20 69 73 20 61 73 |ter numb|er is as| |00004f50| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 0d |sumed to| be in .| |00004f60| 74 68 65 20 79 72 65 67 | 2e 0d 0d 0d 09 5f 70 72 |the yreg|....._pr| |00004f70| 73 74 72 09 6f 70 0d 54 | 68 69 73 20 6d 61 63 72 |str.op.T|his macr| |00004f80| 6f 20 70 72 69 6e 74 73 | 20 74 68 65 20 65 6e 74 |o prints| the ent| |00004f90| 69 72 65 20 73 74 72 69 | 6e 67 2e 20 20 49 66 20 |ire stri|ng. If | |00004fa0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6f 70 31 2c |there is| no op1,| |00004fb0| 20 74 68 65 6e 20 74 68 | 65 20 73 74 72 69 6e 67 | then th|e string| |00004fc0| 20 0d 6e 75 6d 62 65 72 | 20 69 73 20 61 73 73 75 | .number| is assu| |00004fd0| 6d 65 64 20 74 6f 20 62 | 65 20 69 6e 20 74 68 65 |med to b|e in the| |00004fe0| 20 78 72 65 67 2e 0d 0d | 0d 09 5f 70 72 6c 65 66 | xreg...|.._prlef| |00004ff0| 74 73 74 72 09 6f 70 31 | 2c 6f 70 32 0d 54 68 69 |tstr.op1|,op2.Thi| |00005000| 73 20 6d 61 63 72 6f 20 | 70 72 69 6e 74 73 20 6f |s macro |prints o| |00005010| 70 31 20 73 74 72 69 6e | 67 20 73 74 61 72 74 69 |p1 strin|g starti| |00005020| 6e 67 20 61 74 20 74 68 | 65 20 66 69 72 73 74 20 |ng at th|e first | |00005030| 63 68 61 72 61 63 74 65 | 72 20 66 6f 72 20 6f 70 |characte|r for op| |00005040| 32 20 63 68 61 72 61 63 | 74 65 72 73 2e 20 20 0d |2 charac|ters. .| |00005050| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6f |If there| is no o| |00005060| 70 31 2c 20 74 68 65 6e | 20 74 68 65 20 73 74 72 |p1, then| the str| |00005070| 69 6e 67 20 6e 75 6d 62 | 65 72 20 69 73 20 61 73 |ing numb|er is as| |00005080| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 74 |sumed to| be in t| |00005090| 68 65 20 78 72 65 67 2e | 20 20 49 66 20 0d 74 68 |he xreg.| If .th| |000050a0| 65 72 65 20 69 73 20 6e | 6f 20 6f 70 32 2c 20 74 |ere is n|o op2, t| |000050b0| 68 65 6e 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |hen the |number o| |000050c0| 66 20 63 68 61 72 61 63 | 74 65 72 73 20 69 73 20 |f charac|ters is | |000050d0| 61 73 73 75 6d 65 64 20 | 74 6f 20 62 65 20 69 6e |assumed |to be in| |000050e0| 20 74 68 65 20 61 63 63 | 2e 0d 0d 0d 09 5f 70 72 | the acc|....._pr| |000050f0| 6d 69 64 73 74 72 09 6f | 70 31 2c 6f 70 32 2c 6f |midstr.o|p1,op2,o| |00005100| 70 33 0d 54 68 69 73 20 | 6d 61 63 72 6f 20 70 72 |p3.This |macro pr| |00005110| 69 6e 74 73 20 6f 70 31 | 20 73 74 72 69 6e 67 20 |ints op1| string | |00005120| 73 74 61 72 74 69 6e 67 | 20 61 74 20 74 68 65 20 |starting| at the | |00005130| 6f 70 32 20 63 68 61 72 | 61 63 74 65 72 20 66 6f |op2 char|acter fo| |00005140| 72 20 6f 70 33 20 63 68 | 61 72 61 63 74 65 72 73 |r op3 ch|aracters| |00005150| 2e 20 20 0d 49 66 20 74 | 68 65 72 65 20 69 73 20 |. .If t|here is | |00005160| 6e 6f 20 6f 70 31 2c 20 | 74 68 65 6e 20 74 68 65 |no op1, |then the| |00005170| 20 73 74 72 69 6e 67 20 | 6e 75 6d 62 65 72 20 69 | string |number i| |00005180| 73 20 61 73 73 75 6d 65 | 64 20 74 6f 20 62 65 20 |s assume|d to be | |00005190| 69 6e 20 74 68 65 20 78 | 72 65 67 2e 20 20 49 66 |in the x|reg. If| |000051a0| 20 0d 74 68 65 72 65 20 | 69 73 20 6e 6f 20 6f 70 | .there |is no op| |000051b0| 32 2c 20 74 68 65 6e 20 | 74 68 65 20 63 68 61 72 |2, then |the char| |000051c0| 61 63 74 65 72 20 6e 75 | 6d 62 65 72 20 69 73 20 |acter nu|mber is | |000051d0| 61 73 73 75 6d 65 64 20 | 74 6f 20 62 65 20 69 6e |assumed |to be in| |000051e0| 20 74 68 65 20 79 72 65 | 67 2e 20 20 49 66 20 0d | the yre|g. If .| |000051f0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6f 70 33 2c |there is| no op3,| |00005200| 20 74 68 65 6e 20 74 68 | 65 20 6e 75 6d 62 65 72 | then th|e number| |00005210| 20 6f 66 20 63 68 61 72 | 61 63 74 65 72 73 20 69 | of char|acters i| |00005220| 73 20 61 73 73 75 6d 65 | 64 20 74 6f 20 62 65 20 |s assume|d to be | |00005230| 69 6e 20 74 68 65 20 61 | 63 63 2e 0d 0d 0d 09 5f |in the a|cc....._| |00005240| 6c 65 66 74 73 74 72 63 | 70 79 09 6f 70 31 2c 6f |leftstrc|py.op1,o| |00005250| 70 32 2c 6f 70 33 0d 54 | 68 69 73 20 6d 61 63 72 |p2,op3.T|his macr| |00005260| 6f 20 63 6f 70 69 65 73 | 20 6f 70 33 20 63 68 61 |o copies| op3 cha| |00005270| 72 61 63 74 65 72 73 20 | 66 72 6f 6d 20 6f 70 32 |racters |from op2| |00005280| 20 73 74 72 69 6e 67 20 | 74 6f 20 6f 70 31 20 73 | string |to op1 s| |00005290| 74 72 69 6e 67 2e 20 20 | 49 66 20 74 68 65 72 65 |tring. |If there| |000052a0| 20 69 73 20 0d 6e 6f 20 | 6f 70 31 2c 20 74 68 65 | is .no |op1, the| |000052b0| 6e 20 74 68 65 20 64 65 | 73 74 69 6e 61 74 69 6f |n the de|stinatio| |000052c0| 6e 20 73 74 72 69 6e 67 | 20 6e 75 6d 62 65 72 20 |n string| number | |000052d0| 69 73 20 61 73 73 75 6d | 65 64 20 74 6f 20 62 65 |is assum|ed to be| |000052e0| 20 69 6e 20 74 68 65 20 | 78 72 65 67 2e 20 20 49 | in the |xreg. I| |000052f0| 66 20 0d 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6f |f .there| is no o| |00005300| 70 32 2c 20 74 68 65 6e | 20 74 68 65 20 73 6f 75 |p2, then| the sou| |00005310| 72 63 65 20 73 74 72 69 | 6e 67 20 6e 75 6d 62 65 |rce stri|ng numbe| |00005320| 72 20 69 73 20 61 73 73 | 75 6d 65 64 20 74 6f 20 |r is ass|umed to | |00005330| 62 65 20 69 6e 20 74 68 | 65 20 79 72 65 67 2e 20 |be in th|e yreg. | |00005340| 20 0d 49 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f | .If the|re is no| |00005350| 20 6f 70 33 2c 20 74 68 | 65 6e 20 74 68 65 20 6e | op3, th|en the n| |00005360| 75 6d 62 65 72 20 6f 66 | 20 63 68 61 72 61 63 74 |umber of| charact| |00005370| 65 72 73 20 69 73 20 61 | 73 73 75 6d 65 64 20 74 |ers is a|ssumed t| |00005380| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 61 63 63 2e |o be in |the acc.| |00005390| 0d 0d 0d 09 5f 73 74 72 | 63 70 79 09 6f 70 31 2c |...._str|cpy.op1,| |000053a0| 6f 70 32 0d 54 68 69 73 | 20 6d 61 63 72 6f 20 63 |op2.This| macro c| |000053b0| 6f 70 69 65 73 20 6f 70 | 32 20 73 74 72 69 6e 67 |opies op|2 string| |000053c0| 20 74 6f 20 6f 70 31 20 | 73 74 72 69 6e 67 2e 20 | to op1 |string. | |000053d0| 20 49 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 | If ther|e is no | |000053e0| 6f 70 31 2c 20 74 68 65 | 6e 20 74 68 65 20 0d 64 |op1, the|n the .d| |000053f0| 65 73 74 69 6e 61 74 69 | 6f 6e 20 73 74 72 69 6e |estinati|on strin| |00005400| 67 20 6e 75 6d 62 65 72 | 20 69 73 20 61 73 73 75 |g number| is assu| |00005410| 6d 65 64 20 74 6f 20 62 | 65 20 69 6e 20 74 68 65 |med to b|e in the| |00005420| 20 78 72 65 67 2e 20 20 | 49 66 20 74 68 65 72 65 | xreg. |If there| |00005430| 20 69 73 20 6e 6f 20 6f | 70 32 2c 20 0d 74 68 65 | is no o|p2, .the| |00005440| 6e 20 74 68 65 20 73 6f | 75 72 63 65 20 73 74 72 |n the so|urce str| |00005450| 69 6e 67 20 6e 75 6d 62 | 65 72 20 69 73 20 61 73 |ing numb|er is as| |00005460| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 74 |sumed to| be in t| |00005470| 68 65 20 79 72 65 67 2e | 0d 0d 0d 09 5f 6d 69 64 |he yreg.|...._mid| |00005480| 73 74 72 63 70 79 20 6f | 70 31 2c 6f 70 32 2c 6f |strcpy o|p1,op2,o| |00005490| 70 33 2c 6f 70 34 0d 54 | 68 69 73 20 6d 61 63 72 |p3,op4.T|his macr| |000054a0| 6f 20 63 6f 70 69 65 73 | 20 6f 70 34 20 63 68 61 |o copies| op4 cha| |000054b0| 72 61 63 74 65 72 73 2c | 20 73 74 61 72 74 69 6e |racters,| startin| |000054c0| 67 20 61 74 20 6f 70 33 | 20 63 68 61 72 61 63 74 |g at op3| charact| |000054d0| 65 72 20 66 72 6f 6d 20 | 6f 70 32 20 73 74 72 69 |er from |op2 stri| |000054e0| 6e 67 20 0d 74 6f 20 6f | 70 31 20 73 74 72 69 6e |ng .to o|p1 strin| |000054f0| 67 2e 20 20 49 66 20 74 | 68 65 72 65 20 69 73 20 |g. If t|here is | |00005500| 6e 6f 20 6f 70 31 2c 20 | 74 68 65 6e 20 74 68 65 |no op1, |then the| |00005510| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 73 74 72 | destina|tion str| |00005520| 69 6e 67 20 6e 75 6d 62 | 65 72 20 69 73 20 0d 61 |ing numb|er is .a| |00005530| 73 73 75 6d 65 64 20 74 | 6f 20 62 65 20 69 6e 20 |ssumed t|o be in | |00005540| 74 68 65 20 78 72 65 67 | 2e 20 20 49 66 20 74 68 |the xreg|. If th| |00005550| 65 72 65 20 69 73 20 6e | 6f 20 6f 70 32 2c 20 74 |ere is n|o op2, t| |00005560| 68 65 6e 20 74 68 65 20 | 73 6f 75 72 63 65 20 73 |hen the |source s| |00005570| 74 72 69 6e 67 20 6e 75 | 6d 62 65 72 20 0d 69 73 |tring nu|mber .is| |00005580| 20 61 73 73 75 6d 65 64 | 20 74 6f 20 62 65 20 69 | assumed| to be i| |00005590| 6e 20 74 68 65 20 79 72 | 65 67 2e 20 20 49 66 20 |n the yr|eg. If | |000055a0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6f 70 33 2c |there is| no op3,| |000055b0| 20 74 68 65 6e 20 74 68 | 65 20 63 68 61 72 61 63 | then th|e charac| |000055c0| 74 65 72 20 6e 75 6d 62 | 65 72 20 0d 69 73 20 61 |ter numb|er .is a| |000055d0| 73 73 75 6d 65 64 20 74 | 6f 20 62 65 20 69 6e 20 |ssumed t|o be in | |000055e0| 74 68 65 20 61 63 63 2e | 20 20 49 66 20 74 68 65 |the acc.| If the| |000055f0| 72 65 20 69 73 20 6e 6f | 20 6f 70 34 2c 20 74 68 |re is no| op4, th| |00005600| 65 6e 20 61 6c 6c 20 63 | 68 61 72 61 63 74 65 72 |en all c|haracter| |00005610| 73 20 74 6f 20 74 68 65 | 20 65 6e 64 20 0d 6f 66 |s to the| end .of| |00005620| 20 74 68 65 20 73 6f 75 | 72 63 65 20 73 74 72 69 | the sou|rce stri| |00005630| 6e 67 20 77 69 6c 6c 20 | 62 65 20 63 6f 70 69 65 |ng will |be copie| |00005640| 64 20 74 6f 20 74 68 65 | 20 64 65 73 74 69 6e 61 |d to the| destina| |00005650| 74 69 6f 6e 20 73 74 72 | 69 6e 67 2e 20 20 54 68 |tion str|ing. Th| |00005660| 65 20 6f 70 34 20 63 61 | 73 65 20 69 73 20 0d 74 |e op4 ca|se is .t| |00005670| 68 65 20 6f 6e 6c 79 20 | 63 61 73 65 20 77 68 65 |he only |case whe| |00005680| 72 65 20 74 68 65 20 61 | 73 73 75 6d 65 64 20 76 |re the a|ssumed v| |00005690| 61 6c 75 65 20 69 73 20 | 61 20 70 61 72 74 69 63 |alue is |a partic| |000056a0| 75 6c 61 72 20 76 61 6c | 75 65 20 28 23 32 35 35 |ular val|ue (#255| |000056b0| 29 2c 20 69 6e 73 74 65 | 61 64 20 0d 6f 66 20 77 |), inste|ad .of w| |000056c0| 68 61 74 20 69 73 20 69 | 6e 20 61 20 72 65 67 69 |hat is i|n a regi| |000056d0| 73 74 65 72 2e 20 20 54 | 68 69 73 20 69 73 20 74 |ster. T|his is t| |000056e0| 68 65 20 63 61 73 65 20 | 62 65 63 61 75 73 65 20 |he case |because | |000056f0| 74 68 65 72 65 20 61 72 | 65 20 6f 6e 6c 79 20 74 |there ar|e only t| |00005700| 68 72 65 65 20 0d 72 65 | 67 69 73 74 65 72 73 2e |hree .re|gisters.| |00005710| 0d 0d 0d 09 5f 6c 65 66 | 74 73 74 72 63 61 74 09 |...._lef|tstrcat.| |00005720| 6f 70 31 2c 6f 70 32 2c | 6f 70 33 0d 54 68 69 73 |op1,op2,|op3.This| |00005730| 20 6d 61 63 72 6f 20 63 | 6f 6e 63 61 74 65 6e 61 | macro c|oncatena| |00005740| 74 65 73 20 6f 70 33 20 | 63 68 61 72 61 63 74 65 |tes op3 |characte| |00005750| 72 73 20 6f 66 20 6f 70 | 32 20 73 74 72 69 6e 67 |rs of op|2 string| |00005760| 20 6f 6e 74 6f 20 6f 70 | 31 20 73 74 72 69 6e 67 | onto op|1 string| |00005770| 2e 20 20 49 66 20 0d 74 | 68 65 72 65 20 69 73 20 |. If .t|here is | |00005780| 6e 6f 20 6f 70 31 2c 20 | 74 68 65 6e 20 74 68 65 |no op1, |then the| |00005790| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 73 74 72 | destina|tion str| |000057a0| 69 6e 67 20 6e 75 6d 62 | 65 72 20 69 73 20 61 73 |ing numb|er is as| |000057b0| 73 75 6d 65 64 20 74 6f | 20 62 65 20 69 6e 20 74 |sumed to| be in t| |000057c0| 68 65 20 0d 78 72 65 67 | 2e 20 20 49 66 20 74 68 |he .xreg|. If th| |000057d0| 65 72 65 20 69 73 20 6e | 6f 20 6f 70 32 2c 20 74 |ere is n|o op2, t| |000057e0| 68 65 6e 20 74 68 65 20 | 73 6f 75 72 63 65 20 73 |hen the |source s| |000057f0| 74 72 69 6e 67 20 6e 75 | 6d 62 65 72 20 69 73 20 |tring nu|mber is | |00005800| 61 73 73 75 6d 65 64 20 | 74 6f 20 62 65 20 69 6e |assumed |to be in| |00005810| 20 0d 74 68 65 20 79 72 | 65 67 2e 20 20 49 66 20 | .the yr|eg. If | |00005820| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6f 70 33 2c |there is| no op3,| |00005830| 20 74 68 65 6e 20 74 68 | 65 20 6e 75 6d 62 65 72 | then th|e number| |00005840| 20 6f 66 20 63 68 61 72 | 61 63 74 65 72 73 20 69 | of char|acters i| |00005850| 73 20 61 73 73 75 6d 65 | 64 20 74 6f 20 62 65 20 |s assume|d to be | |00005860| 0d 69 6e 20 74 68 65 20 | 61 63 63 2e 0d 0d 0d 09 |.in the |acc.....| |00005870| 5f 73 74 72 63 61 74 09 | 6f 70 31 2c 6f 70 32 0d |_strcat.|op1,op2.| |00005880| 54 68 69 73 20 6d 61 63 | 72 6f 20 63 6f 6e 63 61 |This mac|ro conca| |00005890| 74 65 6e 61 74 65 73 20 | 6f 70 32 20 73 74 72 69 |tenates |op2 stri| |000058a0| 6e 67 20 6f 6e 74 6f 20 | 6f 70 31 20 73 74 72 69 |ng onto |op1 stri| |000058b0| 6e 67 2e 20 20 49 66 20 | 74 68 65 72 65 20 69 73 |ng. If |there is| |000058c0| 20 6e 6f 20 6f 70 31 2c | 20 74 68 65 6e 20 0d 74 | no op1,| then .t| |000058d0| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 73 |he desti|nation s| |000058e0| 74 72 69 6e 67 20 6e 75 | 6d 62 65 72 20 69 73 20 |tring nu|mber is | |000058f0| 61 73 73 75 6d 65 64 20 | 74 6f 20 62 65 20 69 6e |assumed |to be in| |00005900| 20 74 68 65 20 78 72 65 | 67 2e 20 20 49 66 20 74 | the xre|g. If t| |00005910| 68 65 72 65 20 69 73 20 | 6e 6f 20 0d 6f 70 32 2c |here is |no .op2,| |00005920| 20 74 68 65 6e 20 74 68 | 65 20 73 6f 75 72 63 65 | then th|e source| |00005930| 20 73 74 72 69 6e 67 20 | 6e 75 6d 62 65 72 20 69 | string |number i| |00005940| 73 20 61 73 73 75 6d 65 | 64 20 74 6f 20 62 65 20 |s assume|d to be | |00005950| 69 6e 20 74 68 65 20 79 | 72 65 67 2e 0d 0d 0d 09 |in the y|reg.....| |00005960| 5f 6d 69 64 73 74 72 63 | 61 74 09 6f 70 31 2c 6f |_midstrc|at.op1,o| |00005970| 70 32 2c 6f 70 33 2c 6f | 70 34 0d 54 68 69 73 20 |p2,op3,o|p4.This | |00005980| 6d 61 63 72 6f 20 63 6f | 6e 63 61 74 65 6e 61 74 |macro co|ncatenat| |00005990| 65 73 20 6f 70 34 20 63 | 68 61 72 61 63 74 65 72 |es op4 c|haracter| |000059a0| 73 20 73 74 61 72 74 69 | 6e 67 20 61 74 20 6f 70 |s starti|ng at op| |000059b0| 33 20 63 68 61 72 61 63 | 74 65 72 20 66 72 6f 6d |3 charac|ter from| |000059c0| 20 6f 70 32 20 0d 73 74 | 72 69 6e 67 20 6f 6e 74 | op2 .st|ring ont| |000059d0| 6f 20 6f 70 31 20 73 74 | 72 69 6e 67 2e 20 20 49 |o op1 st|ring. I| |000059e0| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 6f 70 |f there |is no op| |000059f0| 31 2c 20 74 68 65 6e 20 | 74 68 65 20 64 65 73 74 |1, then |the dest| |00005a00| 69 6e 61 74 69 6f 6e 20 | 73 74 72 69 6e 67 20 6e |ination |string n| |00005a10| 75 6d 62 65 72 20 0d 69 | 73 20 61 73 73 75 6d 65 |umber .i|s assume| |00005a20| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 78 |d to be |in the x| |00005a30| 72 65 67 2e 20 20 49 66 | 20 74 68 65 72 65 20 69 |reg. If| there i| |00005a40| 73 20 6e 6f 20 6f 70 32 | 2c 20 74 68 65 6e 20 74 |s no op2|, then t| |00005a50| 68 65 20 73 6f 75 72 63 | 65 20 73 74 72 69 6e 67 |he sourc|e string| |00005a60| 20 0d 6e 75 6d 62 65 72 | 20 69 73 20 61 73 73 75 | .number| is assu| |00005a70| 6d 65 64 20 74 6f 20 62 | 65 20 69 6e 20 74 68 65 |med to b|e in the| |00005a80| 20 79 72 65 67 2e 20 20 | 49 66 20 74 68 65 72 65 | yreg. |If there| |00005a90| 20 69 73 20 6e 6f 20 6f | 70 33 2c 20 74 68 65 6e | is no o|p3, then| |00005aa0| 20 74 68 65 20 63 68 61 | 72 61 63 74 65 72 20 0d | the cha|racter .| |00005ab0| 6e 75 6d 62 65 72 20 69 | 73 20 61 73 73 75 6d 65 |number i|s assume| |00005ac0| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 61 |d to be |in the a| |00005ad0| 63 63 2e 20 20 49 66 20 | 74 68 65 72 65 20 69 73 |cc. If |there is| |00005ae0| 20 6e 6f 20 6f 70 34 2c | 20 74 68 65 6e 20 61 6c | no op4,| then al| |00005af0| 6c 20 63 68 61 72 61 63 | 74 65 72 73 20 74 6f 20 |l charac|ters to | |00005b00| 0d 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 |.the end| of the | |00005b10| 73 6f 75 72 63 65 20 73 | 74 72 69 6e 67 20 77 69 |source s|tring wi| |00005b20| 6c 6c 20 62 65 20 63 6f | 6e 63 61 74 65 6e 61 74 |ll be co|ncatenat| |00005b30| 65 64 20 74 6f 20 74 68 | 65 20 64 65 73 74 69 6e |ed to th|e destin| |00005b40| 61 74 69 6f 6e 20 73 74 | 72 69 6e 67 2e 20 20 0d |ation st|ring. .| |00005b50| 54 68 65 20 6f 70 34 20 | 63 61 73 65 20 69 73 20 |The op4 |case is | |00005b60| 74 68 65 20 6f 6e 6c 79 | 20 63 61 73 65 20 77 68 |the only| case wh| |00005b70| 65 72 65 20 74 68 65 20 | 61 73 73 75 6d 65 64 20 |ere the |assumed | |00005b80| 76 61 6c 75 65 20 69 73 | 20 61 20 70 61 72 74 69 |value is| a parti| |00005b90| 63 75 6c 61 72 20 76 61 | 6c 75 65 20 0d 28 23 32 |cular va|lue .(#2| |00005ba0| 35 35 29 2c 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |55), ins|tead of | |00005bb0| 77 68 61 74 20 69 73 20 | 69 6e 20 61 20 72 65 67 |what is |in a reg| |00005bc0| 69 73 74 65 72 2e 20 20 | 54 68 69 73 20 69 73 20 |ister. |This is | |00005bd0| 74 68 65 20 63 61 73 65 | 20 62 65 63 61 75 73 65 |the case| because| |00005be0| 20 74 68 65 72 65 20 61 | 72 65 20 0d 6f 6e 6c 79 | there a|re .only| |00005bf0| 20 74 68 72 65 65 20 72 | 65 67 69 73 74 65 72 73 | three r|egisters| |00005c00| 2e 0d 0d 0d 09 5f 6c 69 | 74 73 74 72 09 6f 70 31 |....._li|tstr.op1| |00005c10| 2c 6f 70 32 2c 6f 70 33 | 2c 2e 2e 2e 0d 54 68 69 |,op2,op3|,....Thi| |00005c20| 73 20 6d 61 63 72 6f 20 | 77 6f 72 6b 73 20 76 65 |s macro |works ve| |00005c30| 72 79 20 6d 75 63 68 20 | 6c 69 6b 65 20 5f 77 72 |ry much |like _wr| |00005c40| 69 74 65 2c 20 65 78 63 | 65 70 74 20 74 68 61 74 |ite, exc|ept that| |00005c50| 20 74 68 65 20 63 68 61 | 72 61 63 74 65 72 73 20 | the cha|racters | |00005c60| 61 72 65 20 6e 6f 74 20 | 0d 70 72 69 6e 74 65 64 |are not |.printed| |00005c70| 2e 20 20 54 68 65 79 20 | 61 72 65 20 63 6f 70 69 |. They |are copi| |00005c80| 65 64 20 69 6e 74 6f 20 | 74 68 65 20 64 65 73 69 |ed into |the desi| |00005c90| 67 6e 61 74 65 64 20 73 | 74 72 69 6e 67 2e 20 20 |gnated s|tring. | |00005ca0| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 0d |If there| is no .| |00005cb0| 64 65 73 69 67 6e 61 74 | 65 64 20 73 74 72 69 6e |designat|ed strin| |00005cc0| 67 2c 20 74 68 65 6e 20 | 69 74 20 69 73 20 61 73 |g, then |it is as| |00005cd0| 73 75 6d 65 64 20 74 68 | 61 74 20 74 68 65 20 78 |sumed th|at the x| |00005ce0| 72 65 67 20 61 6c 72 65 | 61 64 79 20 68 6f 6c 64 |reg alre|ady hold| |00005cf0| 73 20 74 68 65 20 73 74 | 72 69 6e 67 20 0d 6e 75 |s the st|ring .nu| |00005d00| 6d 62 65 72 2e 0d 0d 0d | 09 5f 73 74 72 63 68 72 |mber....|._strchr| |00005d10| 09 6f 70 31 2c 6f 70 32 | 0d 54 68 69 73 20 6d 61 |.op1,op2|.This ma| |00005d20| 63 72 6f 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |cro retu|rns the | |00005d30| 6f 70 32 74 68 20 63 68 | 61 72 61 63 74 65 72 20 |op2th ch|aracter | |00005d40| 6f 66 20 6f 70 31 20 73 | 74 72 69 6e 67 2e 20 20 |of op1 s|tring. | |00005d50| 49 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6f |If there| is no o| |00005d60| 70 31 2c 20 0d 74 68 65 | 6e 20 74 68 65 20 64 65 |p1, .the|n the de| |00005d70| 73 74 69 6e 61 74 69 6f | 6e 20 73 74 72 69 6e 67 |stinatio|n string| |00005d80| 20 6e 75 6d 62 65 72 20 | 69 73 20 61 73 73 75 6d | number |is assum| |00005d90| 65 64 20 74 6f 20 62 65 | 20 69 6e 20 74 68 65 20 |ed to be| in the | |00005da0| 78 72 65 67 2e 20 20 49 | 66 20 74 68 65 72 65 20 |xreg. I|f there | |00005db0| 69 73 20 0d 6e 6f 20 6f | 70 32 2c 20 74 68 65 6e |is .no o|p2, then| |00005dc0| 20 74 68 65 20 63 68 61 | 72 61 63 74 65 72 20 6e | the cha|racter n| |00005dd0| 75 6d 62 65 72 20 69 73 | 20 61 73 73 75 6d 65 64 |umber is| assumed| |00005de0| 20 74 6f 20 62 65 20 69 | 6e 20 74 68 65 20 61 63 | to be i|n the ac| |00005df0| 63 2e 0d 0d 0d 09 5f 73 | 74 72 6c 6f 63 09 6f 70 |c....._s|trloc.op| |00005e00| 31 0d 54 68 69 73 20 6d | 61 63 72 6f 20 72 65 74 |1.This m|acro ret| |00005e10| 75 72 6e 73 20 74 68 65 | 20 70 68 79 73 69 63 61 |urns the| physica| |00005e20| 6c 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 6f 70 |l locati|on of op| |00005e30| 31 20 73 74 72 69 6e 67 | 20 69 6e 20 6d 65 6d 6f |1 string| in memo| |00005e40| 72 79 2e 20 20 54 68 65 | 20 0d 73 74 72 69 6e 67 |ry. The| .string| |00005e50| 20 6c 6f 63 61 74 69 6f | 6e 20 69 73 20 72 65 74 | locatio|n is ret| |00005e60| 75 72 6e 65 64 20 69 6e | 20 61 63 63 2c 79 2e 49 |urned in| acc,y.I| |00005e70| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 6f 70 |f there |is no op| |00005e80| 31 2c 20 74 68 65 6e 20 | 74 68 65 20 64 65 73 74 |1, then |the dest| |00005e90| 69 6e 61 74 69 6f 6e 20 | 0d 73 74 72 69 6e 67 20 |ination |.string | |00005ea0| 6e 75 6d 62 65 72 20 69 | 73 20 61 73 73 75 6d 65 |number i|s assume| |00005eb0| 64 20 74 6f 20 62 65 20 | 69 6e 20 74 68 65 20 78 |d to be |in the x| |00005ec0| 72 65 67 2e 0d 0d 0d 09 | 5f 63 73 74 72 09 6f 70 |reg.....|_cstr.op| |00005ed0| 31 2c 6f 70 32 2c 6f 70 | 33 2c 2e 2e 2e 0d 54 68 |1,op2,op|3,....Th| |00005ee0| 69 73 20 6d 61 63 72 6f | 20 69 73 20 75 73 65 64 |is macro| is used| |00005ef0| 20 74 6f 20 67 65 6e 65 | 72 61 74 65 20 61 20 63 | to gene|rate a c| |00005f00| 73 74 72 69 6e 67 20 75 | 73 69 6e 67 20 74 68 65 |string u|sing the| |00005f10| 20 73 61 6d 65 20 73 79 | 6e 74 61 78 20 61 73 20 | same sy|ntax as | |00005f20| 6f 74 68 65 72 20 0d 6d | 61 63 72 6f 73 2e 20 20 |other .m|acros. | |00005f30| 49 74 20 77 6f 72 6b 73 | 20 76 65 72 79 20 6d 75 |It works| very mu| |00005f40| 63 68 20 6c 69 6b 65 20 | 5f 77 72 69 74 65 20 61 |ch like |_write a| |00005f50| 6e 64 20 5f 6c 69 74 73 | 74 72 20 69 6e 20 74 68 |nd _lits|tr in th| |00005f60| 65 20 77 61 79 20 69 74 | 20 68 61 6e 64 6c 65 73 |e way it| handles| |00005f70| 20 0d 70 61 72 61 6d 65 | 74 65 72 73 2e 20 20 54 | .parame|ters. T| |00005f80| 68 65 20 6f 6e 6c 79 20 | 74 68 69 6e 67 20 74 68 |he only |thing th| |00005f90| 61 74 20 74 68 69 73 20 | 6d 61 63 72 6f 20 64 6f |at this |macro do| |00005fa0| 65 73 2c 20 68 6f 77 65 | 76 65 72 2c 20 69 73 20 |es, howe|ver, is | |00005fb0| 64 65 66 69 6e 65 20 64 | 61 74 61 2e 0d 0d 0d 09 |define d|ata.....| |00005fc0| 5f 72 65 73 74 6f 72 65 | 09 6f 70 0d 54 68 69 73 |_restore|.op.This| |00005fd0| 20 6d 61 63 72 6f 20 73 | 65 74 73 20 74 68 65 20 | macro s|ets the | |00005fe0| 72 65 61 64 20 64 61 74 | 61 20 70 6f 69 6e 74 65 |read dat|a pointe| |00005ff0| 72 2e 20 20 49 66 20 74 | 68 65 72 65 20 69 73 20 |r. If t|here is | |00006000| 6e 6f 20 6f 70 2c 20 74 | 68 65 6e 20 74 68 65 20 |no op, t|hen the | |00006010| 61 64 64 72 65 73 73 20 | 66 6f 72 20 0d 72 65 61 |address |for .rea| |00006020| 64 69 6e 67 20 64 61 74 | 61 20 69 73 20 61 73 73 |ding dat|a is ass| |00006030| 75 6d 65 64 20 74 6f 20 | 62 65 20 69 6e 20 74 68 |umed to |be in th| |00006040| 65 20 61 63 63 2c 79 2e | 0d 0d 0d 09 5f 72 65 61 |e acc,y.|...._rea| |00006050| 64 69 6e 74 09 6f 70 0d | 54 68 69 73 20 6d 61 63 |dint.op.|This mac| |00006060| 72 6f 20 72 65 61 64 73 | 20 61 6e 20 69 6e 74 20 |ro reads| an int | |00006070| 66 72 6f 6d 20 74 68 65 | 20 63 75 72 72 65 6e 74 |from the| current| |00006080| 20 64 61 74 61 20 70 6f | 69 6e 74 65 72 20 61 6e | data po|inter an| |00006090| 64 20 61 64 76 61 6e 63 | 65 73 20 74 68 65 20 0d |d advanc|es the .| |000060a0| 70 6f 69 6e 74 65 72 20 | 62 79 20 74 77 6f 20 62 |pointer |by two b| |000060b0| 79 74 65 73 2e 20 20 49 | 66 20 74 68 65 72 65 20 |ytes. I|f there | |000060c0| 69 73 20 6e 6f 20 6f 70 | 31 2c 20 74 68 65 6e 20 |is no op|1, then | |000060d0| 74 68 65 20 64 65 73 74 | 69 6e 61 74 69 6f 6e 20 |the dest|ination | |000060e0| 76 61 72 69 61 62 6c 65 | 20 0d 6e 75 6d 62 65 72 |variable| .number| |000060f0| 20 69 73 20 61 73 73 75 | 6d 65 64 20 74 6f 20 62 | is assu|med to b| |00006100| 65 20 69 6e 20 74 68 65 | 20 78 72 65 67 2e 0d 0d |e in the| xreg...| |00006110| 0d 09 5f 72 65 61 64 73 | 74 72 09 6f 70 0d 54 68 |.._reads|tr.op.Th| |00006120| 69 73 20 6d 61 63 72 6f | 20 72 65 61 64 73 20 73 |is macro| reads s| |00006130| 74 72 69 6e 67 20 64 61 | 74 61 20 69 6e 74 6f 20 |tring da|ta into | |00006140| 74 68 65 20 64 65 73 69 | 67 6e 61 74 65 64 20 73 |the desi|gnated s| |00006150| 74 72 69 6e 67 20 75 6e | 74 69 6c 20 74 68 65 20 |tring un|til the | |00006160| 65 6e 64 2d 6f 66 2d 73 | 74 72 69 6e 67 20 0d 63 |end-of-s|tring .c| |00006170| 68 61 72 61 63 74 65 72 | 20 69 73 20 65 6e 63 6f |haracter| is enco| |00006180| 75 6e 74 65 72 65 64 2e | 20 20 54 68 65 20 64 61 |untered.| The da| |00006190| 74 61 20 70 6f 69 6e 74 | 65 72 20 69 73 20 74 68 |ta point|er is th| |000061a0| 65 6e 20 73 65 74 20 74 | 6f 20 70 6f 69 6e 74 20 |en set t|o point | |000061b0| 61 66 74 65 72 20 74 68 | 69 73 20 65 6e 64 2d 0d |after th|is end-.| |000061c0| 6f 66 2d 73 74 72 69 6e | 67 20 63 68 61 72 61 63 |of-strin|g charac| |000061d0| 74 65 72 2e 20 20 49 66 | 20 74 68 65 72 65 20 69 |ter. If| there i| |000061e0| 73 20 6e 6f 20 6f 70 31 | 2c 20 74 68 65 6e 20 74 |s no op1|, then t| |000061f0| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 73 |he desti|nation s| |00006200| 74 72 69 6e 67 20 6e 75 | 6d 62 65 72 20 69 73 20 |tring nu|mber is | |00006210| 0d 61 73 73 75 6d 65 64 | 20 74 6f 20 62 65 20 69 |.assumed| to be i| |00006220| 6e 20 74 68 65 20 78 72 | 65 67 2e 0d 0d 0d 09 5f |n the xr|eg....._| |00006230| 72 65 61 64 65 6e 64 09 | 6f 70 0d 54 68 69 73 20 |readend.|op.This | |00006240| 6d 61 63 72 6f 20 69 73 | 20 75 73 65 64 20 74 6f |macro is| used to| |00006250| 20 73 65 74 20 74 68 65 | 20 65 6e 64 2d 6f 66 2d | set the| end-of-| |00006260| 73 74 72 69 6e 67 20 63 | 68 61 72 61 63 74 65 72 |string c|haracter| |00006270| 20 66 6f 72 20 5f 72 65 | 61 64 73 74 72 2e 20 20 | for _re|adstr. | |00006280| 49 66 20 0d 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |If .ther|e is no | |00006290| 6f 70 31 2c 20 74 68 65 | 6e 20 74 68 65 20 5f 72 |op1, the|n the _r| |000062a0| 65 61 64 73 74 72 20 65 | 6e 64 69 6e 67 20 63 68 |eadstr e|nding ch| |000062b0| 61 72 61 63 74 65 72 20 | 69 73 20 61 73 73 75 6d |aracter |is assum| |000062c0| 65 64 20 74 6f 20 62 65 | 20 69 6e 20 0d 74 68 65 |ed to be| in .the| |000062d0| 20 61 63 63 2e 0d 0d 0d | 54 68 65 20 61 72 72 61 | acc....|The arra| |000062e0| 79 20 68 61 6e 64 6c 69 | 6e 67 20 69 73 20 73 69 |y handli|ng is si| |000062f0| 6d 70 6c 65 20 70 6f 69 | 6e 74 65 72 2d 62 61 73 |mple poi|nter-bas| |00006300| 65 64 20 73 74 6f 72 61 | 67 65 20 61 6e 64 20 72 |ed stora|ge and r| |00006310| 65 74 72 69 65 76 61 6c | 2e 20 20 54 68 65 72 65 |etrieval|. There| |00006320| 20 69 73 20 0d 61 6c 73 | 6f 20 73 6f 6d 65 20 6c | is .als|o some l| |00006330| 6f 67 69 63 20 66 6f 72 | 20 6d 75 6c 74 69 70 6c |ogic for| multipl| |00006340| 65 2d 64 69 6d 65 6e 73 | 69 6f 6e 65 64 20 61 72 |e-dimens|ioned ar| |00006350| 72 61 79 73 2e 20 20 54 | 68 69 73 20 73 79 73 74 |rays. T|his syst| |00006360| 65 6d 20 63 61 6e 20 68 | 61 6e 64 6c 65 20 0d 61 |em can h|andle .a| |00006370| 72 72 61 79 73 20 75 70 | 20 74 6f 20 66 6f 75 72 |rrays up| to four| |00006380| 20 64 69 6d 65 6e 73 69 | 6f 6e 73 20 64 65 65 70 | dimensi|ons deep| |00006390| 2e 20 20 57 69 74 68 20 | 61 20 6c 69 74 74 6c 65 |. With |a little| |000063a0| 20 77 6f 72 6b 2c 20 74 | 68 69 73 20 63 61 6e 20 | work, t|his can | |000063b0| 62 65 20 65 78 70 61 6e | 64 65 64 20 0d 74 6f 20 |be expan|ded .to | |000063c0| 61 6e 79 20 6e 75 6d 62 | 65 72 2e 20 20 54 68 65 |any numb|er. The| |000063d0| 20 73 79 73 74 65 6d 20 | 61 6c 6c 6f 77 73 20 66 | system |allows f| |000063e0| 6f 72 20 65 61 73 79 20 | 65 78 70 61 6e 73 69 6f |or easy |expansio| |000063f0| 6e 20 74 6f 20 6d 6f 72 | 65 20 64 69 6d 65 6e 73 |n to mor|e dimens| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.